From owner-svn-src-all@FreeBSD.ORG Thu May 15 05:35:01 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58B349E; Thu, 15 May 2014 05:35:01 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 468C9231C; Thu, 15 May 2014 05:35:01 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4F5Z1Gr082688; Thu, 15 May 2014 05:35:01 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4F5Z1aI082685; Thu, 15 May 2014 05:35:01 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201405150535.s4F5Z1aI082685@svn.freebsd.org> From: Eitan Adler Date: Thu, 15 May 2014 05:35:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266117 - head/usr.bin/units X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 May 2014 05:35:01 -0000 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");