nvram: fix displayed info about NVRAM size
authorRafał Miłecki <zajec5@gmail.com>
Wed, 8 Jul 2015 05:45:09 +0000 (05:45 +0000)
committerRafał Miłecki <zajec5@gmail.com>
Wed, 8 Jul 2015 05:45:09 +0000 (05:45 +0000)
commitce3515925ef474521a5e9a890cb502bb0dde3ea7
treea94c935d24dd633c3caeabd0da9052a7c5d6146f
parent09a597971e176db626d6f141235d46775fc7bd18
nvram: fix displayed info about NVRAM size

Use actual partition size and content offset to calculate it.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46260

SVN-Revision: 46261
package/utils/nvram/src/cli.c