summaryrefslogtreecommitdiffstats
path: root/cmd-pipe-pane.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-10-25 00:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2021-10-25 00:01:11 +0100
commit619d934d7b64ec86dcc08f182c390273d1604e06 (patch)
tree93f17c2ec8c96536ac096254a27c53f83485535a /cmd-pipe-pane.c
parent5071b82c77639344db8f91a9ad5b040be796d953 (diff)
parent9b4148b12ca631b9cb8f48a03adb1fad146ee53d (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-pipe-pane.c')
-rw-r--r--cmd-pipe-pane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-pipe-pane.c b/cmd-pipe-pane.c
index 20318492..aac23a0f 100644
--- a/cmd-pipe-pane.c
+++ b/cmd-pipe-pane.c
@@ -130,7 +130,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)
sigprocmask(SIG_SETMASK, &oldset, NULL);
close(pipe_fd[0]);
- null_fd = open(_PATH_DEVNULL, O_WRONLY, 0);
+ null_fd = open(_PATH_DEVNULL, O_WRONLY);
if (out) {
if (dup2(pipe_fd[1], STDIN_FILENO) == -1)
_exit(1);