summaryrefslogtreecommitdiffstats
path: root/cmd-new-window.c
Side-by-side diff
Diffstat (limited to 'cmd-new-window.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-new-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index c1933d0..c45b601 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -100,7 +100,7 @@ cmd_new_window_parse(
return (0);
usage:
- usage(cause, "%s %s", self->entry->name, self->entry->usage);
+ xasprintf(cause, "usage: %s %s", self->entry->name, self->entry->usage);
error:
cmd_new_window_free(data);