summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-07-10 05:51:56 +0000
committerkris <kris@FreeBSD.org>2000-07-10 05:51:56 +0000
commit5fae984c0b76ef257587262bbd9a1e912212b1c0 (patch)
treed34ea1cb557df798cd3731372a00effff034042e
parent5e8a8e2ecf8d6204bc931369042fe5748835dc76 (diff)
downloadFreeBSD-src-5fae984c0b76ef257587262bbd9a1e912212b1c0.zip
FreeBSD-src-5fae984c0b76ef257587262bbd9a1e912212b1c0.tar.gz
Don't call printf with no format string.
Reviewed by: msmith
-rw-r--r--sys/alpha/alpha/machdep.c2
-rw-r--r--sys/amd64/amd64/machdep.c2
-rw-r--r--sys/i386/i386/machdep.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c
index 4ec9ba5..6d95d9a 100644
--- a/sys/alpha/alpha/machdep.c
+++ b/sys/alpha/alpha/machdep.c
@@ -260,7 +260,7 @@ cpu_startup(dummy)
/*
* Good {morning,afternoon,evening,night}.
*/
- printf(version);
+ printf("%s", version);
identifycpu();
/* startrtclock(); */
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index 2bf6dc5..f4d019a 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -260,7 +260,7 @@ cpu_startup(dummy)
/*
* Good {morning,afternoon,evening,night}.
*/
- printf(version);
+ printf("%s", version);
earlysetcpuclass();
startrtclock();
printcpuinfo();
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index 2bf6dc5..f4d019a 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -260,7 +260,7 @@ cpu_startup(dummy)
/*
* Good {morning,afternoon,evening,night}.
*/
- printf(version);
+ printf("%s", version);
earlysetcpuclass();
startrtclock();
printcpuinfo();
OpenPOWER on IntegriCloud