Return to common.c CVS log | Up to [local] / src / usr.bin / rdist |
version 1.39, 2018/09/21 19:00:45 | version 1.40, 2019/06/28 13:35:03 | ||
---|---|---|---|
|
|
||
char sbuf[BUFSIZ], buf[BUFSIZ]; | char sbuf[BUFSIZ], buf[BUFSIZ]; | ||
int fd[2], status; | int fd[2], status; | ||
if (pipe(fd) < 0) { | if (pipe(fd) == -1) { | ||
error("pipe of %s failed: %s", cmd, SYSERR); | error("pipe of %s failed: %s", cmd, SYSERR); | ||
return; | return; | ||
} | } |