|
@@ -1452,7 +1452,7 @@ static void mtdswap_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd)
|
|
|
oinfo = mtd->ecclayout;
|
|
|
if (!mtd->oobsize || !oinfo || oinfo->oobavail < MTDSWAP_OOBSIZE) {
|
|
|
printk(KERN_ERR "%s: Not enough free bytes in OOB, "
|
|
|
- "%d available, %lu needed.\n",
|
|
|
+ "%d available, %zu needed.\n",
|
|
|
MTDSWAP_PREFIX, oinfo->oobavail, MTDSWAP_OOBSIZE);
|
|
|
return;
|
|
|
}
|