diff options
author | Warner Losh <imp@FreeBSD.org> | 2022-07-24 21:51:36 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-01-24 21:49:26 +0000 |
commit | 5944ceee4bb33c205caaa6063c25f3453117af75 (patch) | |
tree | be9add528e12465e9b84e895748e8b3bd33723bd | |
parent | e6ccedfa686bc66fcb81f67331683c4a09f667ce (diff) | |
download | src-5944ceee4bb33c205caaa6063c25f3453117af75.tar.gz src-5944ceee4bb33c205caaa6063c25f3453117af75.zip |
stand: Use c99 structure initialization for bzipfs_fsops
Sponsored by: Netflix
(cherry picked from commit 0ad8a113b7066494c509f5c89267c2a4116788c5)
-rw-r--r-- | stand/libsa/bzipfs.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stand/libsa/bzipfs.c b/stand/libsa/bzipfs.c index 1cd71f7913a0..efa2806ce1d4 100644 --- a/stand/libsa/bzipfs.c +++ b/stand/libsa/bzipfs.c @@ -70,14 +70,14 @@ static int bzf_stat(struct open_file *f, struct stat *sb); #ifndef REGRESSION struct fs_ops bzipfs_fsops = { - "bzip", - bzf_open, - bzf_close, - bzf_read, - null_write, - bzf_seek, - bzf_stat, - null_readdir + .fs_name = "bzip", + .fo_open = bzf_open, + .fo_close = bzf_close, + .fo_read = bzf_read, + .fo_write = null_write, + .fo_seek = bzf_seek, + .fo_stat = bzf_stat, + .fo_readdir = null_readdir, }; #endif |