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
This commit is contained in:
parent
dad1819732
commit
e7bdbef729
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user