diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-18 14:48:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-18 14:48:42 +0000 |
commit | dc6271cd79947c020fc21a9d5641de6d576f61f2 (patch) | |
tree | 4dd6920b3201ba486cc4c803cc74d8a799d9178b /cmd-show-buffer.c | |
parent | 003a2e6479a89320b89611bd05f74797b5533890 (diff) | |
download | rtmux-dc6271cd79947c020fc21a9d5641de6d576f61f2.tar.gz rtmux-dc6271cd79947c020fc21a9d5641de6d576f61f2.tar.bz2 rtmux-dc6271cd79947c020fc21a9d5641de6d576f61f2.zip |
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.c | 2 |
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); |