summaryrefslogtreecommitdiffstats
path: root/cmd-rename-session.c
Side-by-side diff
Diffstat (limited to 'cmd-rename-session.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-rename-session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-rename-session.c b/cmd-rename-session.c
index f1e2b5b..496235a 100644
--- a/cmd-rename-session.c
+++ b/cmd-rename-session.c
@@ -79,7 +79,7 @@ cmd_rename_session_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);
cmd_rename_session_free(data);
return (-1);