summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-pipe-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-03-14 21:27:27 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-03-14 21:27:27 +0000
commit46ca82aed1a61bbac2eca7c7aea205783c73877f (patch)
tree498fd958b0c0284212284ebb48269b813387f101 /usr.bin/tmux/cmd-pipe-pane.c
parent6332ee6814594744c4cb495f9b1468ac71577cb1 (diff)
Accept 0 time as a shorthand for now to format_expand_time.
Diffstat (limited to 'usr.bin/tmux/cmd-pipe-pane.c')
-rw-r--r--usr.bin/tmux/cmd-pipe-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-pipe-pane.c b/usr.bin/tmux/cmd-pipe-pane.c
index 34f5fa27ec5..ce5f64da910 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.49 2018/11/30 08:44:40 nicm Exp $ */
+/* $OpenBSD: cmd-pipe-pane.c,v 1.50 2019/03/14 21:27:26 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -110,7 +110,7 @@ cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)
/* Expand the command. */
ft = format_create(item->client, item, FORMAT_NONE, 0);
format_defaults(ft, c, s, wl, wp);
- cmd = format_expand_time(ft, args->argv[0], time(NULL));
+ cmd = format_expand_time(ft, args->argv[0], 0);
format_free(ft);
/* Fork the child. */