diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-18 12:51:27 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-18 12:51:27 +0000 |
commit | 353fde40546def3ba9830a16cb0caa54a56d2e00 (patch) | |
tree | a785f02e59c57341b9e693d1367c13c218aa6c3d /usr.bin | |
parent | 2a6b957b519827565f883af8d91a43376d8f95c5 (diff) |
Tweak a couple of log statements.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/cmd-find.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/cmd-find.c b/usr.bin/tmux/cmd-find.c index 4ab70f57d34..93a7f19dd19 100644 --- a/usr.bin/tmux/cmd-find.c +++ b/usr.bin/tmux/cmd-find.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-find.c,v 1.38 2016/10/16 22:06:40 nicm Exp $ */ +/* $OpenBSD: cmd-find.c,v 1.39 2016/10/18 12:51:26 nicm Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -990,13 +990,13 @@ cmd_find_target(struct cmd_find_state *fs, struct cmd_find_state *current, /* Find current state. */ if (server_check_marked() && (flags & CMD_FIND_DEFAULT_MARKED)) { fs->current = &marked_pane; - log_debug(" current is marked pane"); + log_debug("%s: current is marked pane", __func__); } else if (cmd_find_valid_state(&item->current)) { fs->current = &item->current; - log_debug(" current is from queue"); + log_debug("%s: current is from queue", __func__); } else { fs->current = current; - log_debug(" current is from argument"); + log_debug("%s: current is from argument", __func__); } if (!cmd_find_empty_state(fs->current) && !cmd_find_valid_state(fs->current)) @@ -1207,7 +1207,7 @@ current: error: fs->current = NULL; - log_debug(" error"); + log_debug("%s: error", __func__); free(copy); return (-1); |