Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 04:28:44 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245361 - head/sbin/sysctl
Message-ID:  <201301130428.r0D4SjdV099375@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Sun Jan 13 04:28:44 2013
New Revision: 245361
URL: http://svnweb.freebsd.org/changeset/base/245361

Log:
  Use the right format string for line buffer.
  
  PR:		bin/174910
  Submitted by:	Fabian Keil <fk fabiankeil.de>

Modified:
  head/sbin/sysctl/sysctl.c

Modified: head/sbin/sysctl/sysctl.c
==============================================================================
--- head/sbin/sysctl/sysctl.c	Sun Jan 13 04:14:46 2013	(r245360)
+++ head/sbin/sysctl/sysctl.c	Sun Jan 13 04:28:44 2013	(r245361)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301130428.r0D4SjdV099375>