summaryrefslogtreecommitdiffstats
path: root/cmd-find.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-03-18 15:07:51 +0000
committerThomas Adam <thomas@xteddy.org>2019-03-18 15:07:51 +0000
commitacb2413852b98745b69459d0cdd0d9698cb75e2c (patch)
tree6af803240715b8a6bccc328d5eda14f237e44944 /cmd-find.c
parentaa2b3472c515dd1e5f57618e17c0c612cfa3c117 (diff)
parentce6be7afd4d10b542f9cce8634d6bdd81754f775 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-find.c')
-rw-r--r--cmd-find.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd-find.c b/cmd-find.c
index 3c0085e0..2009a0b3 100644
--- a/cmd-find.c
+++ b/cmd-find.c
@@ -1263,17 +1263,17 @@ found:
no_session:
if (~flags & CMD_FIND_QUIET)
- cmdq_error(item, "can't find session %s", session);
+ cmdq_error(item, "can't find session: %s", session);
goto error;
no_window:
if (~flags & CMD_FIND_QUIET)
- cmdq_error(item, "can't find window %s", window);
+ cmdq_error(item, "can't find window: %s", window);
goto error;
no_pane:
if (~flags & CMD_FIND_QUIET)
- cmdq_error(item, "can't find pane %s", pane);
+ cmdq_error(item, "can't find pane: %s", pane);
goto error;
}
@@ -1343,7 +1343,7 @@ cmd_find_client(struct cmdq_item *item, const char *target, int quiet)
/* If no client found, report an error. */
if (c == NULL && !quiet)
- cmdq_error(item, "can't find client %s", copy);
+ cmdq_error(item, "can't find client: %s", copy);
free(copy);
log_debug("%s: target %s, return %p", __func__, target, c);