summaryrefslogtreecommitdiffstats
path: root/usr.bin/ctlstat/ctlstat.c
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2012-01-12 22:12:42 +0000
committerken <ken@FreeBSD.org>2012-01-12 22:12:42 +0000
commit3d9edaecb6df818243123a3284a77b195cc5c671 (patch)
tree7792b3d27dcd6852362fa0d066d112e4919b04c2 /usr.bin/ctlstat/ctlstat.c
parent6c57a325b36c02329ae5edda6f2df8185200accb (diff)
downloadFreeBSD-src-3d9edaecb6df818243123a3284a77b195cc5c671.zip
FreeBSD-src-3d9edaecb6df818243123a3284a77b195cc5c671.tar.gz
Fix building ctlstat with clang.
Submitted by: Dan McGregor <danismostlikely@gmail.com> MFC after: 1 month
Diffstat (limited to 'usr.bin/ctlstat/ctlstat.c')
-rw-r--r--usr.bin/ctlstat/ctlstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ctlstat/ctlstat.c b/usr.bin/ctlstat/ctlstat.c
index 11022ec..4d73401 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
OpenPOWER on IntegriCloud