diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-22 18:02:43 +0200 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-12-22 18:02:43 +0200 |
commit | 9b5008d4874eecf802e9cb292bba79c7c462e816 (patch) | |
tree | bea969b5d3dcd833287bcebb7c4d69679767223a /ubi-utils/src/ubinfo.c | |
parent | 30fda17fbb469aab410dce57a2c16f5e48d380a4 (diff) |
ubi-utils: some renames
Since there is often confusion what "eb" is - physical or logical
eraseblock. Fix libubi and change "eb" to "leb".
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/ubinfo.c')
-rw-r--r-- | ubi-utils/src/ubinfo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ubi-utils/src/ubinfo.c b/ubi-utils/src/ubinfo.c index 6451bda..a0bbbec 100644 --- a/ubi-utils/src/ubinfo.c +++ b/ubi-utils/src/ubinfo.c @@ -215,7 +215,7 @@ static int print_vol_info(libubi_t libubi, int dev_num, int vol_id) vol_info.type == UBI_DYNAMIC_VOLUME ? "dynamic" : "static"); printf("Alignment: %d\n", vol_info.alignment); - printf("Size: %d LEBs (", vol_info.rsvd_ebs); + printf("Size: %d LEBs (", vol_info.rsvd_lebs); ubiutils_print_bytes(vol_info.rsvd_bytes, 0); printf(")\n"); @@ -246,13 +246,13 @@ static int print_dev_info(libubi_t libubi, int dev_num, int all) printf("ubi%d:\n", dev_info.dev_num); printf("Volumes count: %d\n", dev_info.vol_count); - printf("Logical eraseblock size: %d\n", dev_info.eb_size); + printf("Logical eraseblock size: %d\n", dev_info.leb_size); - printf("Total amount of logical eraseblocks: %d (", dev_info.total_ebs); + printf("Total amount of logical eraseblocks: %d (", dev_info.total_lebs); ubiutils_print_bytes(dev_info.total_bytes, 0); printf(")\n"); - printf("Amount of available logical eraseblocks: %d", dev_info.avail_ebs); + printf("Amount of available logical eraseblocks: %d", dev_info.avail_lebs); ubiutils_print_bytes(dev_info.avail_bytes, 0); printf(")\n"); |