Correct spelling, partion -> partition.

This commit is contained in:
Ian Lepore 2019-07-22 22:41:44 +00:00
parent b9305a86e1
commit 39a289c3d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350231

View File

@ -575,7 +575,7 @@ mmcsd_add_part(struct mmcsd_softc *sc, u_int type, const char *name, u_int cnt,
speed / 1000000, (speed / 100000) % 10, speed / 1000000, (speed / 100000) % 10,
mmcsd_bus_bit_width(dev), sc->max_data); mmcsd_bus_bit_width(dev), sc->max_data);
} else if (type == EXT_CSD_PART_CONFIG_ACC_RPMB) { } else if (type == EXT_CSD_PART_CONFIG_ACC_RPMB) {
printf("%s: %ju%sB partion %d%s at %s\n", part->name, bytes, printf("%s: %ju%sB partition %d%s at %s\n", part->name, bytes,
unit, type, ro ? " (read-only)" : "", unit, type, ro ? " (read-only)" : "",
device_get_nameunit(dev)); device_get_nameunit(dev));
} else { } else {
@ -611,12 +611,12 @@ mmcsd_add_part(struct mmcsd_softc *sc, u_int type, const char *name, u_int cnt,
} }
} }
if (ext == NULL) if (ext == NULL)
printf("%s%d: %ju%sB partion %d%s%s at %s\n", printf("%s%d: %ju%sB partition %d%s%s at %s\n",
part->name, cnt, bytes, unit, type, enh ? part->name, cnt, bytes, unit, type, enh ?
" enhanced" : "", ro ? " (read-only)" : "", " enhanced" : "", ro ? " (read-only)" : "",
device_get_nameunit(dev)); device_get_nameunit(dev));
else else
printf("%s%d: %ju%sB partion %d extended 0x%x " printf("%s%d: %ju%sB partition %d extended 0x%x "
"(%s)%s at %s\n", part->name, cnt, bytes, unit, "(%s)%s at %s\n", part->name, cnt, bytes, unit,
type, extattr, ext, ro ? " (read-only)" : "", type, extattr, ext, ro ? " (read-only)" : "",
device_get_nameunit(dev)); device_get_nameunit(dev));