From 6f36135181a8e98e468a61adf2ef169a2bd5ce86 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Sun, 13 Jan 2013 04:28:44 +0000 Subject: [PATCH] Use the right format string for line buffer. PR: bin/174910 Submitted by: Fabian Keil --- sbin/sysctl/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 8fad089f46d..43592b3081c 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);