The shell can now print %.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-11-23 14:07:02 +01:00
parent 2b032b0414
commit 1f4dc3d0b5
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ void command()
if ( commandsize <= commandused && codepoint != '\n' ) { continue; }
char msg[2]; msg[0] = codepoint; msg[1] = '\0';
printf(msg);
printf("%s", msg);
if ( codepoint == '\n' ) { command[commandused] = '\0'; break; }