mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Fix some warnings on *BSD's
This commit is contained in:
@@ -179,7 +179,7 @@ static int start_child_process(const char* cmd) {
|
||||
free(params[i]);
|
||||
free(params);
|
||||
|
||||
int status, ret;
|
||||
int status = 0, ret = 1;
|
||||
errno = 0;
|
||||
if(waitpid(pid, &status, 0) < 0) {
|
||||
E_WARNING(E_STRLOC ": waitpid() failed with '%s'\n", strerror(errno));
|
||||
|
Reference in New Issue
Block a user