From dc6271cd79947c020fc21a9d5641de6d576f61f2 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 18 Aug 2009 14:48:42 +0000 Subject: Tag a few missed printf-like functions and fix a missing "%s". --- cmd-show-buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-show-buffer.c') 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); -- cgit