summaryrefslogtreecommitdiffstats
path: root/cmd-move-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-20 17:31:26 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-20 17:31:26 +0000
commit105ce36792717a0916cab18b7dd0a11db1f7c84a (patch)
tree3e5f93c11b2c626dbe306530bf1e0a5660a0d56a /cmd-move-window.c
parent9b5f5ed8e8f74a9a615dfb6f5975b2f054d6d1fd (diff)
Nuke unused variables and fix stupid error message.
Diffstat (limited to 'cmd-move-window.c')
-rw-r--r--cmd-move-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-move-window.c b/cmd-move-window.c
index de00f2dd..4c92556a 100644
--- a/cmd-move-window.c
+++ b/cmd-move-window.c
@@ -56,7 +56,7 @@ cmd_move_window_exec(struct cmd *self, struct cmd_ctx *ctx)
kflag = data->chflags & CMD_CHFLAG('k');
dflag = data->chflags & CMD_CHFLAG('d');
if (server_link_window(wl, dst, idx, kflag, !dflag, &cause) != 0) {
- ctx->error(ctx, "can't create session: %s", cause);
+ ctx->error(ctx, "can't move window: %s", cause);
xfree(cause);
return (-1);
}