Don't call printf without a format string.

This commit is contained in:
kris 2000-07-11 23:49:24 +00:00
parent da21d79a5b
commit 63fc64eaa4

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