summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-pipe-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-02-01 23:43:24 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-02-01 23:43:24 +0000
commitbdef2fadb9109ca7d68769232896a3314c2e0d84 (patch)
treea30d354b5130de70ec98d4b862993673a1777129 /usr.bin/tmux/cmd-pipe-pane.c
parent87b2beea44b6acdd5b0cdd4e3d9de5379f38b8aa (diff)
Remove two unused arguments from status_replace.
Diffstat (limited to 'usr.bin/tmux/cmd-pipe-pane.c')
-rw-r--r--usr.bin/tmux/cmd-pipe-pane.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-pipe-pane.c b/usr.bin/tmux/cmd-pipe-pane.c
index 8e22f25f5a1..5c31492291c 100644
--- a/usr.bin/tmux/cmd-pipe-pane.c
+++ b/usr.bin/tmux/cmd-pipe-pane.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-pipe-pane.c,v 1.27 2014/10/20 22:29:25 nicm Exp $ */
+/* $OpenBSD: cmd-pipe-pane.c,v 1.28 2015/02/01 23:43:23 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -109,8 +109,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmd_q *cmdq)
closefrom(STDERR_FILENO + 1);
- command = status_replace(
- c, NULL, NULL, NULL, args->argv[0], time(NULL), 0);
+ command = status_replace(c, NULL, args->argv[0], time(NULL), 0);
execl(_PATH_BSHELL, "sh", "-c", command, (char *) NULL);
_exit(1);
default: