From 49953500edc32e949b5f567fca67ed5430a68540 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 17 Apr 2008 16:43:20 +0300 Subject: ubi-utils: use common.h in libubi Signed-off-by: Artem Bityutskiy --- ubi-utils/new-utils/src/ubinize.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ubi-utils/new-utils/src/ubinize.c') 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 { -- cgit v1.2.3