diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-04-22 19:07:06 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-04-22 19:07:06 +0000 |
commit | 0ad2cd008c353a0461e69c01d0f8479f62bab4a1 (patch) | |
tree | da56fa39c4f87a901ce5d32130c7c06cf56a7f3f /scripts/metadata.pl | |
parent | f73ca80b8c624d7920a4c639bccb22f467266ce2 (diff) | |
download | master-187ad058-0ad2cd008c353a0461e69c01d0f8479f62bab4a1.tar.gz master-187ad058-0ad2cd008c353a0461e69c01d0f8479f62bab4a1.tar.bz2 master-187ad058-0ad2cd008c353a0461e69c01d0f8479f62bab4a1.zip |
nvram: use correct variable name for MTD partition size
Sytax of /proc/mtd is following:
dev: size erasesize name
which means that sscanf "mtd%d: %08x" reads size, not erasesize.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45563 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/metadata.pl')
0 files changed, 0 insertions, 0 deletions