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