Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/common Ooppss - SYSCTL_SETUP() functions return v...
details: https://anonhg.NetBSD.org/src/rev/281786a7c5c3
branches: trunk
changeset: 745286:281786a7c5c3
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Feb 27 17:42:33 2020 +0000
description:
Ooppss - SYSCTL_SETUP() functions return void.
diffstat:
sys/compat/common/compat_sysctl_09_43.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 0cf8496ebf92 -r 281786a7c5c3 sys/compat/common/compat_sysctl_09_43.c
--- a/sys/compat/common/compat_sysctl_09_43.c Thu Feb 27 17:30:07 2020 +0000
+++ b/sys/compat/common/compat_sysctl_09_43.c Thu Feb 27 17:42:33 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_sysctl_09_43.c,v 1.4 2020/02/27 16:41:59 pgoyette Exp $ */
+/* $NetBSD: compat_sysctl_09_43.c,v 1.5 2020/02/27 17:42:33 pgoyette Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_sysctl_09_43.c,v 1.4 2020/02/27 16:41:59 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_sysctl_09_43.c,v 1.5 2020/02/27 17:42:33 pgoyette Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -114,7 +114,7 @@
if (error == EEXIST)
error = 0;
if (error != 0)
- return error;
+ return;
error = sysctl_createv(clog, 0, NULL, NULL,
CTLFLAG_PERMANENT,
@@ -123,8 +123,6 @@
sysctl_vfs_generic_conf, 0, NULL,
sizeof(struct vfsconf),
CTL_VFS, VFS_GENERIC, VFS_CONF, CTL_EOL);
-
- return error;
}
#endif
Home |
Main Index |
Thread Index |
Old Index