[PATCH] mtd-utils: added missing linefeed in 'ubinfo'
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Tue Aug 26 05:13:57 EDT 2008
Trivial patch to add a missing linefeed in static volume info:
| Data bytes: 113112 bytes (110.5 KiB)State: OK
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
ubi-utils/new-utils/src/ubinfo.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/ubi-utils/new-utils/src/ubinfo.c b/ubi-utils/new-utils/src/ubinfo.c
index fdf169a..aada8e7 100644
--- a/ubi-utils/new-utils/src/ubinfo.c
+++ b/ubi-utils/new-utils/src/ubinfo.c
@@ -196,6 +196,7 @@ static int print_vol_info(libubi_t libubi, int dev_num, int vol_id)
if (vol_info.type == UBI_STATIC_VOLUME) {
printf("Data bytes: ");
ubiutils_print_bytes(vol_info.data_bytes, 1);
+ printf("\n");
}
printf("State: %s\n", vol_info.corrupted ? "corrupted" : "OK");
printf("Name: %s\n", vol_info.name);
--
1.5.5.1
More information about the linux-mtd
mailing list