Author: kan
Date: Thu Jan 12 18:05:12 2017
New Revision: 311993
URL: https://svnweb.freebsd.org/changeset/base/311993

Log:
  Fix typo in r311971.
  
  Reported by:  ohartmann at walstatt.org

Modified:
  head/sys/dev/nand/nand_geom.c

Modified: head/sys/dev/nand/nand_geom.c
==============================================================================
--- head/sys/dev/nand/nand_geom.c       Thu Jan 12 17:54:55 2017        
(r311992)
+++ head/sys/dev/nand/nand_geom.c       Thu Jan 12 18:05:12 2017        
(r311993)
@@ -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);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to