printf needs a format string

This commit is contained in:
Mathias Stearn
2010-02-03 14:10:51 -05:00
parent 2a9163d3e3
commit aeae928580

View File

@@ -94,7 +94,7 @@ char * shellReadline( const char * prompt , int handlesigint = 0 ){
signal( SIGINT , quitNicely );
return ret;
#else
printf( prompt );
printf("%s", prompt);
char * buf = new char[1024];
char * l = fgets( buf , 1024 , stdin );
int len = strlen( buf );