summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-12-24 01:40:27 +0000
committermillert <millert@openbsd.org>1998-12-24 01:40:27 +0000
commit9c1c0c43d0252e1ac10ae1bace99247e07b24395 (patch)
treec7e28f3974232ad17f7c421a7d3145c566d3bf31
parentsync (diff)
downloadwireguard-openbsd-9c1c0c43d0252e1ac10ae1bace99247e07b24395.tar.xz
wireguard-openbsd-9c1c0c43d0252e1ac10ae1bace99247e07b24395.zip
in kernfs_statfs set f_flags to 0
-rw-r--r--sys/miscfs/kernfs/kernfs_vfsops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/miscfs/kernfs/kernfs_vfsops.c b/sys/miscfs/kernfs/kernfs_vfsops.c
index 639e0059001..584d15dca30 100644
--- a/sys/miscfs/kernfs/kernfs_vfsops.c
+++ b/sys/miscfs/kernfs/kernfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kernfs_vfsops.c,v 1.9 1998/02/08 22:41:38 tholo Exp $ */
+/* $OpenBSD: kernfs_vfsops.c,v 1.10 1998/12/24 01:40:27 millert Exp $ */
/* $NetBSD: kernfs_vfsops.c,v 1.26 1996/04/22 01:42:27 christos Exp $ */
/*
@@ -247,6 +247,7 @@ kernfs_statfs(mp, sbp, p)
#ifdef COMPAT_09
sbp->f_type = 7;
#endif
+ sbp->f_flags = 0;
sbp->f_bsize = cnt.v_page_size;
sbp->f_iosize = cnt.v_page_size;
sbp->f_blocks = physmem;