=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rdist/common.c,v retrieving revision 1.39 retrieving revision 1.40 diff -c -r1.39 -r1.40 *** src/usr.bin/rdist/common.c 2018/09/21 19:00:45 1.39 --- src/usr.bin/rdist/common.c 2019/06/28 13:35:03 1.40 *************** *** 1,4 **** ! /* $OpenBSD: common.c,v 1.39 2018/09/21 19:00:45 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. --- 1,4 ---- ! /* $OpenBSD: common.c,v 1.40 2019/06/28 13:35:03 deraadt Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. *************** *** 674,680 **** char sbuf[BUFSIZ], buf[BUFSIZ]; int fd[2], status; ! if (pipe(fd) < 0) { error("pipe of %s failed: %s", cmd, SYSERR); return; } --- 674,680 ---- char sbuf[BUFSIZ], buf[BUFSIZ]; int fd[2], status; ! if (pipe(fd) == -1) { error("pipe of %s failed: %s", cmd, SYSERR); return; }