Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2022 22:55:39 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0ad8a113b706 - main - stand: Use c99 structure initialization for bzipfs_fsops
Message-ID:  <202207242255.26OMtdj0004499@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207242255.26OMtdj0004499>