mirror of https://github.com/hak5/openwrt-owl.git
parent
f60d180330
commit
cf633b733a
|
@ -252,8 +252,8 @@ Index: linux/drivers/mtd/mtdpart.c
|
||||||
+ goto out;
|
+ goto out;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ part->name = (unsigned char *)&part[1];
|
|
||||||
+ memcpy(part, old, sizeof(*part));
|
+ memcpy(part, old, sizeof(*part));
|
||||||
|
+ part->name = (unsigned char *)&part[1];
|
||||||
+ strcpy(part->name, ROOTFS_SPLIT_NAME);
|
+ strcpy(part->name, ROOTFS_SPLIT_NAME);
|
||||||
+
|
+
|
||||||
+ len = (u32) sb->bytes_used;
|
+ len = (u32) sb->bytes_used;
|
||||||
|
|
|
@ -253,8 +253,8 @@ Index: linux/drivers/mtd/mtdpart.c
|
||||||
+ goto out;
|
+ goto out;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ part->name = (unsigned char *)&part[1];
|
|
||||||
+ memcpy(part, old, sizeof(*part));
|
+ memcpy(part, old, sizeof(*part));
|
||||||
|
+ part->name = (unsigned char *)&part[1];
|
||||||
+ strcpy(part->name, ROOTFS_SPLIT_NAME);
|
+ strcpy(part->name, ROOTFS_SPLIT_NAME);
|
||||||
+
|
+
|
||||||
+ len = (u32) sb->bytes_used;
|
+ len = (u32) sb->bytes_used;
|
||||||
|
|
Loading…
Reference in New Issue