diff --git a/src/bin/shell/error.c b/src/bin/shell/error.c index fcc89e9..7b97f1b 100755 --- a/src/bin/shell/error.c +++ b/src/bin/shell/error.c @@ -22,8 +22,9 @@ **************************************************************************************/ #include +#include void error(int errorCode,char *errorMsg) { - printf("ERROR: #%i Message: %s\n", errorMsg); + printf("ERROR: #%i Message: %s\n", errorCode, errorMsg); exit(errorCode); } diff --git a/src/bin/shell/exec.c b/src/bin/shell/exec.c index 97c4978..55b3333 100755 --- a/src/bin/shell/exec.c +++ b/src/bin/shell/exec.c @@ -22,6 +22,9 @@ **************************************************************************************/ #include +#include +#include +#include void execProgram(char *program,int argc,char **argv) { int cPid = 0x0; @@ -35,4 +38,4 @@ else { while (pidStatus(cPid)); } - } \ No newline at end of file + }