diff --git a/src/kernel/apps/shell/file_utils.c b/src/kernel/apps/shell/file_utils.c index 65536c93d8..993b56598c 100644 --- a/src/kernel/apps/shell/file_utils.c +++ b/src/kernel/apps/shell/file_utils.c @@ -77,7 +77,7 @@ find_file_in_path(const char *file_name, char *found_name, unsigned int max_size int -exec_file(int argc, char *argv[], int *retcode) +exec_file(int argc, char *argv[], status_t *retcode) { char filename[255]; int pid; diff --git a/src/kernel/apps/shell/file_utils.h b/src/kernel/apps/shell/file_utils.h index 51de69b7bb..0a85d7c2c9 100644 --- a/src/kernel/apps/shell/file_utils.h +++ b/src/kernel/apps/shell/file_utils.h @@ -4,7 +4,7 @@ bool combine_path(const char *path1,const char *path2,char *out,unsigned int max_len); bool exists_file(const char *file_name); bool find_file_in_path(const char *file_name,char *found_name,unsigned int max_size); -int exec_file(int argc,char *argv[],int *retcode); +int exec_file(int argc,char *argv[], status_t *retcode); int read_file_in_buffer(const char *filename,char **buffer); #endif diff --git a/src/kernel/apps/shell/statements.c b/src/kernel/apps/shell/statements.c index ed05cfa783..5d5317ef51 100644 --- a/src/kernel/apps/shell/statements.c +++ b/src/kernel/apps/shell/statements.c @@ -359,7 +359,7 @@ handle_exec(scan_info *info,shell_value **out) char redirect_in[SCAN_SIZE+1]; char redirect_out[SCAN_SIZE+1]; int err = SHE_NO_ERROR; - int retcode; + status_t retcode; char *statement; *out = NULL;