Fix typo in r311971.

Reported by:	ohartmann at walstatt.org
This commit is contained in:
Alexander Kabaev 2017-01-12 18:05:12 +00:00
parent 245c5ebbce
commit eae0fba453

View File

@ -416,7 +416,7 @@ create_geom_disk(struct nand_chip *chip)
snprintf(rdisk->d_ident, sizeof(rdisk->d_ident),
"nand_raw: Man:0x%02x Dev:0x%02x", chip->id.man_id,
chip->id.dev_id);
disk->d_rotation_rate = DISK_RR_NON_ROTATING;
rdisk->d_rotation_rate = DISK_RR_NON_ROTATING;
disk_create(rdisk, DISK_VERSION);