svn commit: r230034 - head/usr.bin/ctlstat

Kenneth D. Merry ken at FreeBSD.org
Thu Jan 12 22:12:42 UTC 2012


Author: ken
Date: Thu Jan 12 22:12:42 2012
New Revision: 230034
URL: http://svn.freebsd.org/changeset/base/230034

Log:
  Fix building ctlstat with clang.
  
  Submitted by:	Dan McGregor <danismostlikely at gmail.com>
  MFC after:	1 month

Modified:
  head/usr.bin/ctlstat/ctlstat.c

Modified: head/usr.bin/ctlstat/ctlstat.c
==============================================================================
--- head/usr.bin/ctlstat/ctlstat.c	Thu Jan 12 22:08:33 2012	(r230033)
+++ head/usr.bin/ctlstat/ctlstat.c	Thu Jan 12 22:12:42 2012	(r230034)
@@ -146,7 +146,7 @@ static void compute_stats(struct ctl_lun
 static void
 usage(int error)
 {
-	fprintf(error ? stderr : stdout, ctlstat_usage);
+	fputs(ctlstat_usage, error ? stderr : stdout);
 }
 
 static int


More information about the svn-src-all mailing list