The branch main has been updated by imp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b3f43ee0317ad241fd35cd8a0e087fd2b158ca1f

commit b3f43ee0317ad241fd35cd8a0e087fd2b158ca1f
Author:     Warner Losh <[email protected]>
AuthorDate: 2022-07-24 21:51:50 +0000
Commit:     Warner Losh <[email protected]>
CommitDate: 2022-07-24 22:53:35 +0000

    stand: Use c99 structure initialization for userboot's host_fsops
    
    Sponsored by:           Netflix
---
 stand/userboot/userboot/host.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/stand/userboot/userboot/host.c b/stand/userboot/userboot/host.c
index 20952983e0d1..74727fd8ce3b 100644
--- a/stand/userboot/userboot/host.c
+++ b/stand/userboot/userboot/host.c
@@ -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 = {

Reply via email to