diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-02 11:04:51 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-02 11:04:51 +0300 |
commit | fcb52ccc99679460640386c297023f852b108f68 (patch) | |
tree | 4c90ff79354980d2e6eb06c944884fcad542bf3c /ubi-utils/new-utils/src | |
parent | 275bd9b57985b5c352a5c0ed3068e0f20e5c69b3 (diff) |
ubi-utils: fix printing typos
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/src')
-rw-r--r-- | ubi-utils/new-utils/src/common.c | 4 | ||||
-rw-r--r-- | ubi-utils/new-utils/src/ubiupdatevol.c | 2 |
2 files changed, 3 insertions, 3 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; diff --git a/ubi-utils/new-utils/src/ubiupdatevol.c b/ubi-utils/new-utils/src/ubiupdatevol.c index 76d9f4e..5c67fc9 100644 --- a/ubi-utils/new-utils/src/ubiupdatevol.c +++ b/ubi-utils/new-utils/src/ubiupdatevol.c @@ -211,7 +211,7 @@ static int update_volume(libubi_t libubi, struct ubi_vol_info *vol_info) err = stat(args.img, &st); if (err < 0) { - errmsg("stat failed on \"%s\"", args.node); + errmsg("stat failed on \"%s\"", args.img); goto out_free; } |