commit 7028920ff46cad735cf7611d252f9096811346ac
Author: sin <[email protected]>
Date: Mon Jan 27 15:16:43 2014 +0000
Rename `saved_errno' to `savederrno'
diff --git a/xargs.c b/xargs.c
index 102c225..ce465ce 100644
--- a/xargs.c
+++ b/xargs.c
@@ -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();
}