Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

i386 build error (nand)



Next build error is probably fixed by attached trivial patch...

Cheers,

Patrick
(still building)
Index: nand_micron.c
===================================================================
RCS file: /cvsroot/src/sys/dev/nand/nand_micron.c,v
retrieving revision 1.2
diff -u -r1.2 nand_micron.c
--- nand_micron.c       18 Mar 2011 00:57:51 -0000      1.2
+++ nand_micron.c       18 Mar 2011 16:49:53 -0000
@@ -154,7 +154,7 @@
        chip->nc_size = MT29FxG_PAGESIZE * MT29FxG_BLOCK_PAGES *
                dp->lun_blocks * dp->num_luns;
 
-       aprint_normal_dev(self, "%s %s, size %ldMB\n",
+       aprint_normal_dev(self, "%s %s, size %zdMB\n",
                vendor, dp->name, chip->nc_size >> 20);
 
        return 0;


Home | Main Index | Thread Index | Old Index