diff options
Diffstat (limited to 'ubi-utils/new-utils/src/common.c')
-rw-r--r-- | ubi-utils/new-utils/src/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ubi-utils/new-utils/src/common.c b/ubi-utils/new-utils/src/common.c index 50859dc..3d70435 100644 --- a/ubi-utils/new-utils/src/common.c +++ b/ubi-utils/new-utils/src/common.c @@ -88,7 +88,7 @@ long long ubiutils_get_bytes(const char *str) long long bytes = strtoull(str, &endp, 0); if (endp == str || bytes < 0) { - fprintf(stderr, "incorrect amount of bytes: \"%s\"", str); + fprintf(stderr, "incorrect amount of bytes: \"%s\"\n", str); return -1; } @@ -97,7 +97,7 @@ long long ubiutils_get_bytes(const char *str) if (mult == -1) { fprintf(stderr, "bad size specifier: \"%s\" - " - "should be 'KiB', 'MiB' or 'GiB'", endp); + "should be 'KiB', 'MiB' or 'GiB'\n", endp); return -1; } bytes *= mult; |