Don't call printf without a format string.

This commit is contained in:
Kris Kennaway 2000-07-11 23:49:24 +00:00
parent 8099eaa823
commit c2616fc538

View File

@ -153,7 +153,7 @@ main(int argc, char **argv)
free(q);
q = p = readline(myprompt);
#else
printf(myprompt);
printf("%s", myprompt);
fflush(stdout);
q = p = fgets(input,sizeof(input),stdin);
#endif