From ecae68ea57d3255a3a3488361afc1d8a6cf8d2cc Mon Sep 17 00:00:00 2001 From: Moritz Buhl Date: Fri, 14 Apr 2023 22:41:29 +0000 Subject: Use designated initializer for ffs_vtbl. OK kn --- sys/ufs/ffs/ffs_vfsops.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sys/ufs') diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 730a36b0fab..ffe78ef140f 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.193 2022/08/12 14:30:53 visa Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.194 2023/04/14 22:41:28 mbuhl Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -89,12 +89,12 @@ const struct vfsops ffs_vfsops = { }; struct inode_vtbl ffs_vtbl = { - ffs_truncate, - ffs_update, - ffs_inode_alloc, - ffs_inode_free, - ffs_balloc, - ffs_bufatoff + .iv_truncate = ffs_truncate, + .iv_update = ffs_update, + .iv_inode_alloc = ffs_inode_alloc, + .iv_inode_free = ffs_inode_free, + .iv_buf_alloc = ffs_balloc, + .iv_bufatoff = ffs_bufatoff }; int -- cgit v1.2.3