From 1bcdaf70ba6331afdf1de00be1752d46867250ef Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Sat, 26 Jul 2014 20:39:48 -0400 Subject: [PATCH] Added missing return statement --- source/workdir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/workdir.c b/source/workdir.c index 3f295c2..625acb6 100644 --- a/source/workdir.c +++ b/source/workdir.c @@ -118,6 +118,7 @@ char* ls_command(char* path){ char* cmd = mem_allocate(sizeof(char) * (4+(strlen(path))), NULL); strcpy(cmd, "ls "); strcat(cmd, path); + return cmd; } void workdir_ls(WorkDir_T* wd){ -- 2.54.0