From 17eaf98a071d77c69fe610c43b0cfd8a10af79a7 Mon Sep 17 00:00:00 2001 From: kan Date: Thu, 12 Jan 2017 18:05:12 +0000 Subject: [PATCH] Fix typo in r311971. Reported by: ohartmann at walstatt.org --- sys/dev/nand/nand_geom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/nand/nand_geom.c b/sys/dev/nand/nand_geom.c index ec789c517e8b..cd3f5211630b 100644 --- a/sys/dev/nand/nand_geom.c +++ b/sys/dev/nand/nand_geom.c @@ -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);