tar: Style fix
This commit is contained in:
parent
e77f0b0b9f
commit
29be7a3f23
4
tar.c
4
tar.c
|
@ -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]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user