svn commit: r212607 - head/sbin/geom/core

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Sep 14 11:19:22 UTC 2010


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) {


More information about the svn-src-head mailing list