diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-15 17:39:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-15 17:39:00 +0000 |
commit | 92da443a9e02a2238d4415e0dcf3796d3929b290 (patch) | |
tree | dba39ebf34f33d4d399e9dc73591e2a6668c8f07 /cmd-confirm-before.c | |
parent | 780fd8f7a6fde6f14016f3c4f94f04d8118859c1 (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-confirm-before.c')
-rw-r--r-- | cmd-confirm-before.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-confirm-before.c b/cmd-confirm-before.c index 0819e3e9..2dbd72ce 100644 --- a/cmd-confirm-before.c +++ b/cmd-confirm-before.c @@ -113,7 +113,7 @@ cmd_confirm_before_callback(void *data, const char *s) if (cmd_string_parse(cdata->cmd, &cmdlist, &cause) != 0) { if (cause != NULL) { *cause = toupper((u_char) *cause); - status_message_set(c, cause); + status_message_set(c, "%s", cause); xfree(cause); } goto out; |