Don't call printf with no format string.

This commit is contained in:
Kris Kennaway 2000-07-10 06:02:13 +00:00
parent 26eaf5dcb8
commit 612740bdcf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62871
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -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);
}
/*