From e7bdbef72941799b684fb8a542f52b0fbafd254d Mon Sep 17 00:00:00 2001 From: allanjude Date: Sun, 27 Dec 2015 17:09:23 +0000 Subject: 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 --- sys/geom/geom_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/geom/geom_map.c') diff --git a/sys/geom/geom_map.c b/sys/geom/geom_map.c index bfd6fd8..cfd886b 100644 --- a/sys/geom/geom_map.c +++ b/sys/geom/geom_map.c @@ -259,7 +259,7 @@ g_map_parse_part(struct g_class *mp, struct g_provider *pp, } 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); -- cgit v1.1