Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2010 11:19:21 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212607 - head/sbin/geom/core
Message-ID:  <201009141119.o8EBJLKU080003@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Tue Sep 14 11:19:21 2010
New Revision: 212607
URL: http://svn.freebsd.org/changeset/base/212607

Log:
  Remove dot which shouldn't be here, as err(3) will attach error message
  at the end of the string.

Modified:
  head/sbin/geom/core/geom.c

Modified: head/sbin/geom/core/geom.c
==============================================================================
--- head/sbin/geom/core/geom.c	Tue Sep 14 11:13:46 2010	(r212606)
+++ head/sbin/geom/core/geom.c	Tue Sep 14 11:19:21 2010	(r212607)
@@ -262,7 +262,7 @@ set_option(struct gctl_req *req, struct 
 	if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
 	    G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
 		if (expand_number(val, &number) == -1) {
-			err(EXIT_FAILURE, "Invalid value for '%c' argument.",
+			err(EXIT_FAILURE, "Invalid value for '%c' argument",
 			    opt->go_char);
 		}
 		if (G_OPT_TYPE(opt) == G_TYPE_NUMBER) {



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