diff options
Diffstat (limited to 'cmd-show-buffer.c')
-rw-r--r-- | cmd-show-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-show-buffer.c b/cmd-show-buffer.c index 256818f5..23490169 100644 --- a/cmd-show-buffer.c +++ b/cmd-show-buffer.c @@ -49,7 +49,7 @@ cmd_show_buffer_exec(struct cmd *self, struct cmd_ctx *ctx) size_t size, len; u_int width; - if ((s = cmd_find_session(ctx, NULL)) == NULL) + if ((s = cmd_find_session(ctx, NULL, 0)) == NULL) return (-1); if (!args_has(args, 'b')) { |