=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/job.c,v retrieving revision 1.65 retrieving revision 1.66 diff -c -r1.65 -r1.66 *** src/usr.bin/tmux/job.c 2021/10/11 10:55:30 1.65 --- src/usr.bin/tmux/job.c 2021/10/24 21:24:17 1.66 *************** *** 1,4 **** ! /* $OpenBSD: job.c,v 1.65 2021/10/11 10:55:30 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: job.c,v 1.66 2021/10/24 21:24:17 deraadt Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 142,148 **** close(out[1]); close(out[0]); ! nullfd = open(_PATH_DEVNULL, O_RDWR, 0); if (nullfd == -1) fatal("open failed"); if (dup2(nullfd, STDERR_FILENO) == -1) --- 142,148 ---- close(out[1]); close(out[0]); ! nullfd = open(_PATH_DEVNULL, O_RDWR); if (nullfd == -1) fatal("open failed"); if (dup2(nullfd, STDERR_FILENO) == -1)