summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ee/ee.c2
-rw-r--r--usr.bin/jot/jot.c2
-rw-r--r--usr.bin/last/last.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ee/ee.c b/usr.bin/ee/ee.c
index 4f2da7d..94be3d7 100644
--- a/usr.bin/ee/ee.c
+++ b/usr.bin/ee/ee.c
@@ -3096,7 +3096,7 @@ char *string; /* string containing user command */
}
if (shell_fork)
{
- printf(continue_msg);
+ printf("%s", continue_msg);
fflush(stdout);
while ((in = getchar()) != '\n')
;
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c
index a15b83f..e415aba 100644
--- a/usr.bin/jot/jot.c
+++ b/usr.bin/jot/jot.c
@@ -315,7 +315,7 @@ putdata(x, notlast)
{
if (boring)
- printf(format);
+ printf("%s", format);
else if (longdata && nosign) {
if (x <= (double)ULONG_MAX && x >= (double)0)
printf(format, (unsigned long)x);
diff --git a/usr.bin/last/last.c b/usr.bin/last/last.c
index c87f696..5efd9e8 100644
--- a/usr.bin/last/last.c
+++ b/usr.bin/last/last.c
@@ -323,7 +323,7 @@ wtmp()
}
tm = localtime(&buf[0].ut_time);
(void) strftime(ct, sizeof(ct), "\nwtmp begins %c\n", tm);
- printf(ct);
+ printf("%s", ct);
}
/*
OpenPOWER on IntegriCloud