Use the right format string for line buffer.

PR:		bin/174910
Submitted by:	Fabian Keil <fk fabiankeil.de>
This commit is contained in:
Xin LI 2013-01-13 04:28:44 +00:00
parent 9328129346
commit 6f36135181
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245361

View File

@ -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);