From: Michael Andreen Date: Fri, 3 Jun 2005 08:25:59 +0000 (+0000) Subject: 0 instead of NULL X-Git-Url: https://ruin.nu/git/?p=popboot.git;a=commitdiff_plain;h=da1ca54945fcdec2401ff551b4f76ee2ddfa0e84 0 instead of NULL --- diff --git a/action.cpp b/action.cpp index 51e11e0..5dbe869 100644 --- a/action.cpp +++ b/action.cpp @@ -45,7 +45,7 @@ int Action::execute() const{ retval = system(_executable.c_str()); _exit(WEXITSTATUS(retval)); } - waitpid(proc,&retval,NULL); + waitpid(proc,&retval,0); cout << "Done executing: " << _name << ", returnvalue: " << WEXITSTATUS(retval) << endl; return WEXITSTATUS(retval); }