[BACK]Return to common.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/common.c between version 1.39 and 1.40

version 1.39, 2018/09/21 19:00:45 version 1.40, 2019/06/28 13:35:03
Line 674 
Line 674 
         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;
         }          }

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40