From b44f4aeaa829ddbfaeda2a730a482a01519d2331 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 18 Aug 2009 14:48:42 +0000 Subject: Tag a few missed printf-like functions and fix a missing "%s". --- usr.bin/tmux/cmd-show-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/cmd-show-buffer.c') 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 @@ -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 v1.2.3-59-g8ed1b