svn commit: r266117 - head/usr.bin/units

Eitan Adler eadler at FreeBSD.org
Thu May 15 05:35:01 UTC 2014


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");


More information about the svn-src-all mailing list