diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-17 16:43:20 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-04-17 16:46:23 +0300 |
commit | 49953500edc32e949b5f567fca67ed5430a68540 (patch) | |
tree | 4b2ba0eca5febffeea6c8d046d78f8eb02a9b71f /ubi-utils/new-utils/src/ubinize.c | |
parent | 7280a34fc4dc7a40e6fc0b3317fb09ec90413af7 (diff) |
ubi-utils: use common.h in libubi
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/new-utils/src/ubinize.c')
-rw-r--r-- | ubi-utils/new-utils/src/ubinize.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ubi-utils/new-utils/src/ubinize.c b/ubi-utils/new-utils/src/ubinize.c index a78199e..bd1b07b 100644 --- a/ubi-utils/new-utils/src/ubinize.c +++ b/ubi-utils/new-utils/src/ubinize.c @@ -322,8 +322,7 @@ int read_section(const char *sname, struct ubigen_vol_info *vi, if (vi->bytes == 0) return errmsg("file \"%s\" referred from section \"%s\" is empty", *img, sname); - printf(PROGRAM_NAME ": volume size was not specified in" - "section \"%s\", assume ", sname); + normsg_cont("volume size was not specified in section \"%s\", assume ", sname); ubiutils_print_bytes(vi->bytes, 1); printf("\n"); } @@ -332,7 +331,7 @@ int read_section(const char *sname, struct ubigen_vol_info *vi, sprintf(buf, "%s:vol_type", sname); p = iniparser_getstring(args.dict, buf, NULL); if (!p) { - normsg(": volume type was not specified in " + normsg("volume type was not specified in " "section \"%s\", assume \"dynamic\"\n", sname); vi->type = UBI_VID_DYNAMIC; } else { |