summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorallanjude <allanjude@FreeBSD.org>2015-12-27 17:09:23 +0000
committerallanjude <allanjude@FreeBSD.org>2015-12-27 17:09:23 +0000
commite7bdbef72941799b684fb8a542f52b0fbafd254d (patch)
tree970fd358b52778d621c48cee097deacfb1c7d9ce /sys/geom
parentdad18197321e39c593d85743e49c2c26486ccf63 (diff)
downloadFreeBSD-src-e7bdbef72941799b684fb8a542f52b0fbafd254d.zip
FreeBSD-src-e7bdbef72941799b684fb8a542f52b0fbafd254d.tar.gz
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
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/geom_map.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud