nvram: use correct variable name for MTD partition size
authorRafał Miłecki <zajec5@gmail.com>
Wed, 22 Apr 2015 19:07:06 +0000 (19:07 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 22 Apr 2015 19:07:06 +0000 (19:07 +0000)
commit0c4c05f0e7b691c43d541de2280400190dcf9343
tree2ff48cf3a29bb23409f11df37314bebc3ca8fafd
parent615fef1ab8051d06482aa59a2709825f0e2e3047
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>
SVN-Revision: 45563
package/utils/nvram/src/nvram.c