aboutsummaryrefslogtreecommitdiffstats
path: root/man2/sysctl.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/sysctl.2')
-rw-r--r--man2/sysctl.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/sysctl.2 b/man2/sysctl.2
index 47b9f8542e..f19588474a 100644
--- a/man2/sysctl.2
+++ b/man2/sysctl.2
@@ -132,10 +132,10 @@ int _sysctl(struct __sysctl_args *args);
int
main(void)
{
- struct __sysctl_args args;
- char osname[OSNAMESZ];
- size_t osnamelth;
- int name[] = { CTL_KERN, KERN_OSTYPE };
+ int name[] = { CTL_KERN, KERN_OSTYPE };
+ char osname[OSNAMESZ];
+ size_t osnamelth;
+ struct __sysctl_args args;
memset(&args, 0, sizeof(args));
args.name = name;