From 36ed70c214616b623a36f9a8b8e58c887ce681f7 Mon Sep 17 00:00:00 2001 From: Marian Ohligs Date: Sat, 30 Jul 2011 19:48:44 +0200 Subject: [PATCH] - reset mshell code --- newlib/examples/mshell.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newlib/examples/mshell.c b/newlib/examples/mshell.c index 3e14dd65..75262ede 100755 --- a/newlib/examples/mshell.c +++ b/newlib/examples/mshell.c @@ -22,14 +22,14 @@ void help() { int main(int argc, char** argv) { - char* command = malloc(533*sizeof(char)); + char* command = malloc(1024*sizeof(char)); int size, status = 0; pid_t pid; system("clear"); showlogo(); while(1) { - /* printf("$ "); + printf("$ "); size = scanf("%s", command); if(!strcmp(command, "exit")) { return 0; @@ -48,7 +48,7 @@ int main(int argc, char** argv) wait(&status); } } - */} + } return errno; }