Fix spelling errors, including binaries ones
[mmh] / sbr / execprog.c
index f1f03bc..c10421d 100644 (file)
@@ -4,6 +4,9 @@
 */
 
 #include <h/mh.h>
+#include <unistd.h>
+#include <stdarg.h>
+#include <sysexits.h>
 
 
 int
@@ -23,7 +26,7 @@ execprog(char *cmd, char **arg)
                execvp(cmd, arg);
                fprintf(stderr, "unable to exec ");
                perror(cmd);
-               _exit(-1);
+               _exit(EX_OSERR);
 
        default:
                /* parent */