diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-01-13 04:28:44 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-01-13 04:28:44 +0000 |
commit | 6f36135181a8e98e468a61adf2ef169a2bd5ce86 (patch) | |
tree | bc1d06464b3cc174f85cbffd8211996f9fe48bd8 /sbin | |
parent | 9328129346b6d36b03de0f32aab597bd4dcf9883 (diff) | |
download | src-6f36135181a8e98e468a61adf2ef169a2bd5ce86.tar.gz src-6f36135181a8e98e468a61adf2ef169a2bd5ce86.zip |
Use the right format string for line buffer.
PR: bin/174910
Submitted by: Fabian Keil <fk fabiankeil.de>
Notes
Notes:
svn path=/head/; revision=245361
Diffstat (limited to 'sbin')
-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 8fad089f46d2..43592b3081c9 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); |