Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 May 2014 05:35:01 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266117 - head/usr.bin/units
Message-ID:  <201405150535.s4F5Z1aI082685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Thu May 15 05:35:00 2014
New Revision: 266117
URL: http://svnweb.freebsd.org/changeset/base/266117

Log:
  units(1): Fix minor typos
  
  Obtained From:	DragonflyBSD

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

Modified: head/usr.bin/units/units.c
==============================================================================
--- head/usr.bin/units/units.c	Thu May 15 04:18:06 2014	(r266116)
+++ head/usr.bin/units/units.c	Thu May 15 05:35:00 2014	(r266117)
@@ -291,7 +291,7 @@ showunit(struct unittype * theunit)
 			counter = 1;
 		}
 	}
-	if ( counter > 1)
+	if (counter > 1)
 		printf("%s%d", powerstring, counter);
 	printf("\n");
 }
@@ -760,7 +760,7 @@ main(int argc, char **argv)
 	el_source(el, NULL);
 	history(inhistory, &ev, H_SETSIZE, 800);
 	if (inhistory == 0)
-		err(1, "Could not initalize history");
+		err(1, "Could not initialize history");
 
 	if (cap_enter() < 0 && errno != ENOSYS)
 		err(1, "unable to enter capability mode");



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