mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
stand: Use c99 structure initialization for pkgfs_fsops
Sponsored by: Netflix
This commit is contained in:
parent
90a7e556a4
commit
e7d045aa2b
|
@ -49,14 +49,14 @@ static int pkg_readdir(struct open_file *, struct dirent *);
|
|||
static off_t pkg_atol(const char *, unsigned);
|
||||
|
||||
struct fs_ops pkgfs_fsops = {
|
||||
"pkg",
|
||||
pkg_open,
|
||||
pkg_close,
|
||||
pkg_read,
|
||||
null_write,
|
||||
pkg_seek,
|
||||
pkg_stat,
|
||||
pkg_readdir
|
||||
.fs_name = "pkg",
|
||||
.fo_open = pkg_open,
|
||||
.fo_close = pkg_close,
|
||||
.fo_read = pkg_read,
|
||||
.fo_write = null_write,
|
||||
.fo_seek = pkg_seek,
|
||||
.fo_stat = pkg_stat,
|
||||
.fo_readdir = pkg_readdir,
|
||||
};
|
||||
|
||||
#define PKG_BUFSIZE 512
|
||||
|
|
Loading…
Reference in a new issue