svn commit: r292779 - head/sys/geom

Allan Jude allanjude at FreeBSD.org
Sun Dec 27 17:09:24 UTC 2015


Author: allanjude
Date: Sun Dec 27 17:09:23 2015
New Revision: 292779
URL: https://svnweb.freebsd.org/changeset/base/292779

Log:
  Fix incorrect error message in geom map
  
  If geom_map fails to find the end of a mapped partition based on a search, it would return the incorrect error message, stating it could not parse the START value
  
  Reviewed by:	adrian
  Approved by:	bapt (mentor)
  Sponsored by:	ScaleEngine Inc.
  Differential Revision:	https://reviews.freebsd.org/D4187

Modified:
  head/sys/geom/geom_map.c

Modified: head/sys/geom/geom_map.c
==============================================================================
--- head/sys/geom/geom_map.c	Sun Dec 27 15:55:15 2015	(r292778)
+++ head/sys/geom/geom_map.c	Sun Dec 27 17:09:23 2015	(r292779)
@@ -259,7 +259,7 @@ g_map_parse_part(struct g_class *mp, str
 	}
 	if (find_marker(cp, value, &end) != 0) {
 		if (bootverbose) {
-			printf("MAP: \"%s\" can't parse/use start value\n",
+			printf("MAP: \"%s\" can't parse/use end value\n",
 			    name);
 		}
 		return (1);


More information about the svn-src-head mailing list