summaryrefslogtreecommitdiffstats
path: root/sbin/sysctl
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2013-01-13 04:28:44 +0000
committerdelphij <delphij@FreeBSD.org>2013-01-13 04:28:44 +0000
commitcacaa2c24012e9867f40bd03e6d1065cce1a07b0 (patch)
treebc1d06464b3cc174f85cbffd8211996f9fe48bd8 /sbin/sysctl
parent2202ffaa64014991f1b6ccf8f4336de270f53b63 (diff)
downloadFreeBSD-src-cacaa2c24012e9867f40bd03e6d1065cce1a07b0.zip
FreeBSD-src-cacaa2c24012e9867f40bd03e6d1065cce1a07b0.tar.gz
Use the right format string for line buffer.
PR: bin/174910 Submitted by: Fabian Keil <fk fabiankeil.de>
Diffstat (limited to 'sbin/sysctl')
-rw-r--r--sbin/sysctl/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index 8fad089..43592b3 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -266,7 +266,7 @@ parse(const char *string, int lineno)
if (!(kind & CTLFLAG_WR)) {
if (kind & CTLFLAG_TUN) {
- warnx("oid '%s' is a read only tunable%p", bufp, line);
+ warnx("oid '%s' is a read only tunable%s", bufp, line);
warnx("Tunable values are set in /boot/loader.conf");
} else
warnx("oid '%s' is read only%s", bufp, line);
OpenPOWER on IntegriCloud