From 33d35bebefee000a593b1b29d1bbaecaf6717e95 Mon Sep 17 00:00:00 2001 From: "Kenneth D. Merry" Date: Thu, 12 Jan 2012 22:12:42 +0000 Subject: [PATCH] Fix building ctlstat with clang. Submitted by: Dan McGregor MFC after: 1 month --- usr.bin/ctlstat/ctlstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/ctlstat/ctlstat.c b/usr.bin/ctlstat/ctlstat.c index 11022ec871d1..4d734018621b 100644 --- a/usr.bin/ctlstat/ctlstat.c +++ b/usr.bin/ctlstat/ctlstat.c @@ -146,7 +146,7 @@ static void compute_stats(struct ctl_lun_io_stats *cur_stats, static void usage(int error) { - fprintf(error ? stderr : stdout, ctlstat_usage); + fputs(ctlstat_usage, error ? stderr : stdout); } static int