summaryrefslogtreecommitdiffstats
path: root/cmd-link-window.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-20 22:17:03 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-20 22:17:03 +0000
commitbd24bdd411ce7868bd2f7a6b972468693392542f (patch)
treeedb2831b4aef099a9f1c0db3561c58fe1bb982a4 /cmd-link-window.c
parent7335ef5792791e803b090fb9d54718604a0d7dab (diff)
Sync OpenBSD patchset 334:
Nuke unused variables and fix stupid error message.
Diffstat (limited to 'cmd-link-window.c')
-rw-r--r--cmd-link-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-link-window.c b/cmd-link-window.c
index 85106991..59a59109 100644
--- a/cmd-link-window.c
+++ b/cmd-link-window.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-link-window.c,v 1.33 2009-09-20 22:15:32 tcunha Exp $ */
+/* $Id: cmd-link-window.c,v 1.34 2009-09-20 22:17:03 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -56,7 +56,7 @@ cmd_link_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 link window: %s", cause);
xfree(cause);
return (-1);
}