=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/remote.c,v retrieving revision 1.32 retrieving revision 1.33 diff -c -r1.32 -r1.33 *** src/usr.bin/cvs/remote.c 2017/08/28 19:33:20 1.32 --- src/usr.bin/cvs/remote.c 2019/06/28 13:35:00 1.33 *************** *** 1,4 **** ! /* $OpenBSD: remote.c,v 1.32 2017/08/28 19:33:20 otto Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: remote.c,v 1.33 2019/06/28 13:35:00 deraadt Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 176,182 **** if (fd == -1) fatal("cvs_remote_send_file: dup: %s", strerror(errno)); ! if (lseek(fd, 0, SEEK_SET) < 0) fatal("cvs_remote_send_file: %s: lseek: %s", path, strerror(errno)); --- 176,182 ---- if (fd == -1) fatal("cvs_remote_send_file: dup: %s", strerror(errno)); ! if (lseek(fd, 0, SEEK_SET) == -1) fatal("cvs_remote_send_file: %s: lseek: %s", path, strerror(errno));