diff options
author | allanjude <allanjude@FreeBSD.org> | 2015-12-27 17:09:23 +0000 |
---|---|---|
committer | allanjude <allanjude@FreeBSD.org> | 2015-12-27 17:09:23 +0000 |
commit | e7bdbef72941799b684fb8a542f52b0fbafd254d (patch) | |
tree | 970fd358b52778d621c48cee097deacfb1c7d9ce /sys/geom | |
parent | dad18197321e39c593d85743e49c2c26486ccf63 (diff) | |
download | FreeBSD-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.c | 2 |
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); |