Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jul 2014 17:18:00 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r268948 - head/usr.bin/vtfontcvt
Message-ID:  <201407211718.s6LHI0FF035170@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Jul 21 17:18:00 2014
New Revision: 268948
URL: http://svnweb.freebsd.org/changeset/base/268948

Log:
  Use the standard way of printing the usage string
  
  Sponsored by:	The FreeBSD Foundation

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

Modified: head/usr.bin/vtfontcvt/vtfontcvt.c
==============================================================================
--- head/usr.bin/vtfontcvt/vtfontcvt.c	Mon Jul 21 16:38:05 2014	(r268947)
+++ head/usr.bin/vtfontcvt/vtfontcvt.c	Mon Jul 21 17:18:00 2014	(r268948)
@@ -91,7 +91,7 @@ static void
 usage(void)
 {
 
-	errx(1,
+	(void)fprintf(stderr,
 "usage: vtfontcvt [-w width] [-h height] [-v] normal.bdf [bold.bdf] out.fnt\n");
 	exit(1);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407211718.s6LHI0FF035170>