stand: Use c99 structure initialization for userboot's host_fsops

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-24 15:51:50 -06:00
parent b7625c2c2c
commit b3f43ee031

View File

@ -155,14 +155,14 @@ host_dev_strategy(void *devdata, int rw, daddr_t dblk, size_t size,
}
struct fs_ops host_fsops = {
"host",
host_open,
host_close,
host_read,
null_write,
host_seek,
host_stat,
host_readdir
.fs_name = "host",
.fo_open = host_open,
.fo_close = host_close,
.fo_read = host_read,
.fo_write = null_write,
.fo_seek = host_seek,
.fo_stat = host_stat,
.fo_readdir = host_readdir,
};
struct devsw host_dev = {