rootfs_split: fix a typo, and fix compiler warnings
[openwrt/openwrt.git] / target / linux / generic-2.6 / patches-2.6.22 / 060-rootfs_split.patch
index 67f4764b7b7902409d1c51d225565c347a86dcfa..37d645eb092c4275eb78462bb5cf648c20f9028f 100644 (file)
@@ -284,7 +284,7 @@ Index: linux/drivers/mtd/mtdpart.c
 +      if (dpart == NULL)
 +              return 1;
 +
-+      printk(KERN_INFO "mtd: partition \"%s\" created automatically, ofs=%lX, len=%lX \n",
++      printk(KERN_INFO "mtd: partition \"%s\" created automatically, ofs=%X, len=%X \n",
 +              ROOTFS_SPLIT_NAME, dpart->offset, dpart->size);
 +
 +      ret = add_one_partition(master, dpart, index, NULL);