Add a missing space to the error message when execvp() failed.

This commit is contained in:
Stefan Farfeleder 2009-12-05 13:12:04 +00:00
parent f573a0a634
commit 023c421a96

View File

@ -116,7 +116,7 @@ Proc_Exec(const ProcStuff *ps)
execvp(ps->argv[0], ps->argv);
write(STDERR_FILENO, ps->argv[0], strlen(ps->argv[0]));
write(STDERR_FILENO, ":", 1);
write(STDERR_FILENO, ": ", 2);
write(STDERR_FILENO, strerror(errno), strlen(strerror(errno)));
write(STDERR_FILENO, "\n", 1);
} else {