aboutsummaryrefslogtreecommitdiff
path: root/cmd-show-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-show-buffer.c')
-rw-r--r--cmd-show-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-show-buffer.c b/cmd-show-buffer.c
index 0b525695..8972f098 100644
--- a/cmd-show-buffer.c
+++ b/cmd-show-buffer.c
@@ -94,7 +94,7 @@ cmd_show_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
if (len != 0) {
buf[len] = '\0';
- ctx->print(ctx, buf);
+ ctx->print(ctx, "%s", buf);
}
xfree(buf);