commit 7028920ff46cad735cf7611d252f9096811346ac
parent 6a18e77962eee34480e7b8c89f1e4a441beac8bf
Author: sin <sin@2f30.org>
Date: Mon, 27 Jan 2014 15:16:43 +0000
Rename `saved_errno' to `savederrno'
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git 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();
}