svn commit: r259398 - head/sys/dev/ofw
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sat Dec 14 22:28:33 UTC 2013
Author: nwhitehorn
Date: Sat Dec 14 22:28:32 2013
New Revision: 259398
URL: http://svnweb.freebsd.org/changeset/base/259398
Log:
Avoid warning about insecure format with clang.
Modified:
head/sys/dev/ofw/ofw_console.c
Modified: head/sys/dev/ofw/ofw_console.c
==============================================================================
--- head/sys/dev/ofw/ofw_console.c Sat Dec 14 22:07:40 2013 (r259397)
+++ head/sys/dev/ofw/ofw_console.c Sat Dec 14 22:28:32 2013 (r259398)
@@ -100,7 +100,7 @@ cn_drvinit(void *unused)
sizeof(output)) == -1)
return;
if (strlen(output) > 0)
- tty_makealias(tp, output);
+ tty_makealias(tp, "%s", output);
}
}
More information about the svn-src-all
mailing list