From 74b29d2e4ae453dcd8305d5811a0e6b406289ba8 Mon Sep 17 00:00:00 2001 From: mbuhl Date: Fri, 14 Apr 2023 22:41:28 +0000 Subject: [PATCH] Use designated initializer for ffs_vtbl. OK kn --- sys/ufs/ffs/ffs_vfsops.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.20.1