diff options
author | 2015-12-11 12:27:36 +0000 | |
---|---|---|
committer | 2015-12-11 12:27:36 +0000 | |
commit | 229bdecfd990c2b9c38421eeda34fc1f20a08adc (patch) | |
tree | afcb4b1a3e169bc16ed1c3880ee342d43994d4fe /usr.bin/tmux/cmd-attach-session.c | |
parent | Work around Nvidia EHCI controllers bugs. (diff) | |
download | wireguard-openbsd-229bdecfd990c2b9c38421eeda34fc1f20a08adc.tar.xz wireguard-openbsd-229bdecfd990c2b9c38421eeda34fc1f20a08adc.zip |
Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
Diffstat (limited to 'usr.bin/tmux/cmd-attach-session.c')
-rw-r--r-- | usr.bin/tmux/cmd-attach-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-attach-session.c b/usr.bin/tmux/cmd-attach-session.c index e7f77528035..b7054c65a40 100644 --- a/usr.bin/tmux/cmd-attach-session.c +++ b/usr.bin/tmux/cmd-attach-session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-attach-session.c,v 1.52 2015/12/08 08:34:18 nicm Exp $ */ +/* $OpenBSD: cmd-attach-session.c,v 1.53 2015/12/11 12:27:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -93,7 +93,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag, } if (cflag != NULL) { - ft = format_create(0); + ft = format_create(cmdq, 0); format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, NULL, NULL); cwd = format_expand(ft, cflag); |