Don't call printf without a format string.
This commit is contained in:
parent
8099eaa823
commit
c2616fc538
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user