]> ruin.nu Git - popboot.git/commitdiff
0 instead of NULL
authorMichael Andreen <harv@ruin.nu>
Fri, 3 Jun 2005 08:25:59 +0000 (08:25 +0000)
committerMichael Andreen <harv@ruin.nu>
Fri, 3 Jun 2005 08:25:59 +0000 (08:25 +0000)
action.cpp

index 51e11e051e2d71de8b8419f20ca3a36bf5298ab1..5dbe86954cbbd29644ba710d35dd8585b2774c62 100644 (file)
@@ -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);
 }