diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-21 11:48:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-07-21 11:48:46 +0000 |
commit | af1defb8112803209042a689abfe38beaf1a4554 (patch) | |
tree | 48f25e08910b8c0c8a598acac4cefe7d4299cf57 /openwrt/target/linux/linux-2.4/patches | |
parent | dba6e9388f105f78f3ec6448f6456e9368266a9a (diff) |
change the name of the writable partition to OpenWrt (ar7)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1518 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/linux-2.4/patches')
-rw-r--r-- | openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch b/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch index d7e659070..3a9f7d081 100644 --- a/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch +++ b/openwrt/target/linux/linux-2.4/patches/ar7/001-flash_map.patch @@ -242,7 +242,7 @@ diff -urN linux.old/drivers/mtd/maps/ar7-flash.c linux.dev/drivers/mtd/maps/ar7- + newsize += ar7_mtd_info->erasesize - ((newsize + hdr.offsets[0]) % ar7_mtd_info->erasesize); + + -+ ar7_partinfo[p].name = strdup("test"); ++ ar7_partinfo[p].name = strdup("OpenWrt"); + ar7_partinfo[p].offset = rootfs_start + newsize; + ar7_partinfo[p].size = ar7_partinfo[p - 2].size + hdr.offsets[0] - newsize; + ar7_partinfo[p - 2].size = newsize - hdr.offsets[0]; |