git: 0ad8a113b706 - main - stand: Use c99 structure initialization for bzipfs_fsops
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 24 Jul 2022 22:55:39 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=0ad8a113b7066494c509f5c89267c2a4116788c5
commit 0ad8a113b7066494c509f5c89267c2a4116788c5
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-24 21:51:36 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-07-24 22:53:35 +0000
stand: Use c99 structure initialization for bzipfs_fsops
Sponsored by: Netflix
---
stand/libsa/bzipfs.c | 16 ++++++++--------
1 file 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