diff options
Diffstat (limited to 'sbin/sysctl')
-rw-r--r-- | sbin/sysctl/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 161adbc..1b6495d 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -518,7 +518,7 @@ show_var(int *oid, int nlen) fwrite(val, 1, len, stdout); return (0); } - + val[len] = '\0'; fmt = buf; oidfmt(oid, nlen, fmt, &kind); p = val; |