Rename `saved_errno' to `savederrno'

This commit is contained in:
sin 2014-01-27 15:16:43 +00:00
parent 6a18e77962
commit 7028920ff4
1 changed files with 3 additions and 3 deletions

View File

@ -235,16 +235,16 @@ static void
spawn(void)
{
pid_t pid;
int saved_errno;
int savederrno;
pid = fork();
if (pid < 0)
eprintf("fork:");
if (pid == 0) {
execvp(*cmd, cmd);
saved_errno = errno;
savederrno = errno;
weprintf("execvp %s:", *cmd);
_exit(saved_errno == ENOENT ? 127 : 126);
_exit(savederrno == ENOENT ? 127 : 126);
}
waitchld();
}