aboutsummaryrefslogtreecommitdiffstats
path: root/man2/sysctl.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/sysctl.2')
-rw-r--r--man2/sysctl.24
1 files changed, 2 insertions, 2 deletions
diff --git a/man2/sysctl.2 b/man2/sysctl.2
index 48fa4c1a7e..2ba4f4765b 100644
--- a/man2/sysctl.2
+++ b/man2/sysctl.2
@@ -144,9 +144,9 @@ main(void)
args.nlen = sizeof(name)/sizeof(name[0]);
args.oldval = osname;
args.oldlenp = &osnamelth;
-
+
osnamelth = sizeof(osname);
-
+
if (syscall(SYS__sysctl, &args) == \-1) {
perror("_sysctl");
exit(EXIT_FAILURE);