summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-kill-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/cmd-kill-session.c')
-rw-r--r--usr.bin/tmux/cmd-kill-session.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-kill-session.c b/usr.bin/tmux/cmd-kill-session.c
index 47673625fda..9dbf7fe992e 100644
--- a/usr.bin/tmux/cmd-kill-session.c
+++ b/usr.bin/tmux/cmd-kill-session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-kill-session.c,v 1.23 2017/04/22 10:22:39 nicm Exp $ */
+/* $OpenBSD: cmd-kill-session.c,v 1.24 2017/07/09 22:33:09 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -61,12 +61,12 @@ cmd_kill_session_exec(struct cmd *self, struct cmdq_item *item)
RB_FOREACH_SAFE(sloop, sessions, &sessions, stmp) {
if (sloop != s) {
server_destroy_session(sloop);
- session_destroy(sloop);
+ session_destroy(sloop, __func__);
}
}
} else {
server_destroy_session(s);
- session_destroy(s);
+ session_destroy(s, __func__);
}
return (CMD_RETURN_NORMAL);
}