diff options
author | 2016-07-22 13:11:01 +0000 | |
---|---|---|
committer | 2016-07-22 13:11:01 +0000 | |
commit | 2dbc1f76894c2c4e57559b6aff402f3d4b2708f5 (patch) | |
tree | 2495a1c8077032c149b793b5c46a75b7fae01268 | |
parent | Create a smtp transaction context on a session only for the duration of (diff) | |
download | wireguard-openbsd-2dbc1f76894c2c4e57559b6aff402f3d4b2708f5.tar.xz wireguard-openbsd-2dbc1f76894c2c4e57559b6aff402f3d4b2708f5.zip |
Set the vfs_systcl member of the vsfops struct to eopnotsupp. While we check
for a null pointer now, all other filesystems fill in the complete table.
ok deraadt@, tom@
-rw-r--r-- | sys/tmpfs/tmpfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/tmpfs/tmpfs_vfsops.c b/sys/tmpfs/tmpfs_vfsops.c index ff49be01dd8..9d67ec19514 100644 --- a/sys/tmpfs/tmpfs_vfsops.c +++ b/sys/tmpfs/tmpfs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmpfs_vfsops.c,v 1.9 2016/07/11 22:36:25 tedu Exp $ */ +/* $OpenBSD: tmpfs_vfsops.c,v 1.10 2016/07/22 13:11:01 kettenis Exp $ */ /* $NetBSD: tmpfs_vfsops.c,v 1.52 2011/09/27 01:10:43 christos Exp $ */ /* @@ -373,6 +373,6 @@ struct vfsops tmpfs_vfsops = { tmpfs_fhtovp, /* vfs_fhtovp */ tmpfs_vptofh, /* vfs_vptofh */ tmpfs_init, /* vfs_init */ - NULL, /* vfs_sysctl */ + (void *)eopnotsupp, /* vfs_sysctl */ (void *)eopnotsupp, }; |