tar: Style fix

This commit is contained in:
sin 2015-02-17 09:13:11 +00:00
parent e77f0b0b9f
commit 29be7a3f23
1 changed files with 2 additions and 2 deletions

4
tar.c
View File

@ -55,9 +55,9 @@ decomp(FILE *fp)
eprintf("pipe:"); eprintf("pipe:");
pid = fork(); pid = fork();
if (pid < 0) if (pid < 0) {
eprintf("fork:"); eprintf("fork:");
else if (!pid) { } else if (!pid) {
dup2(fileno(fp), 0); dup2(fileno(fp), 0);
dup2(fds[1], 1); dup2(fds[1], 1);
close(fds[0]); close(fds[0]);