summaryrefslogtreecommitdiffstats
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-15 17:39:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-15 17:39:00 +0000
commit92da443a9e02a2238d4415e0dcf3796d3929b290 (patch)
treedba39ebf34f33d4d399e9dc73591e2a6668c8f07 /cmd-command-prompt.c
parent780fd8f7a6fde6f14016f3c4f94f04d8118859c1 (diff)
Make status_message_set a variadic printf-like function. No functional change -
helpful for a couple of things coming soon.
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c
index 841dfd78..e4660e99 100644
--- a/cmd-command-prompt.c
+++ b/cmd-command-prompt.c
@@ -150,7 +150,7 @@ cmd_command_prompt_callback(void *data, const char *s)
if (cause == NULL)
return (0);
*cause = toupper((u_char) *cause);
- status_message_set(c, cause);
+ status_message_set(c, "%s", cause);
xfree(cause);
cmdlist = NULL;
}