diff options
author | 2009-08-18 14:48:42 +0000 | |
---|---|---|
committer | 2009-08-18 14:48:42 +0000 | |
commit | b44f4aeaa829ddbfaeda2a730a482a01519d2331 (patch) | |
tree | 00c932ac5c9fcf432cffb5d9d617d900e1dc83e8 /usr.bin/tmux/cmd-show-buffer.c | |
parent | Pass show-buffer output through vis(3) as well, and wrap it to the edge of the (diff) | |
download | wireguard-openbsd-b44f4aeaa829ddbfaeda2a730a482a01519d2331.tar.xz wireguard-openbsd-b44f4aeaa829ddbfaeda2a730a482a01519d2331.zip |
Tag a few missed printf-like functions and fix a missing "%s".
Diffstat (limited to 'usr.bin/tmux/cmd-show-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-show-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-show-buffer.c b/usr.bin/tmux/cmd-show-buffer.c index 50684676cab..bff4d35ae6d 100644 --- a/usr.bin/tmux/cmd-show-buffer.c +++ b/usr.bin/tmux/cmd-show-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-show-buffer.c,v 1.4 2009/08/18 13:08:43 nicm Exp $ */ +/* $OpenBSD: cmd-show-buffer.c,v 1.5 2009/08/18 14:48:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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); |