summaryrefslogtreecommitdiffstats
path: root/cmd-show-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-18 14:48:42 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-18 14:48:42 +0000
commitdc6271cd79947c020fc21a9d5641de6d576f61f2 (patch)
tree4dd6920b3201ba486cc4c803cc74d8a799d9178b /cmd-show-buffer.c
parent003a2e6479a89320b89611bd05f74797b5533890 (diff)
Tag a few missed printf-like functions and fix a missing "%s".
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);