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/common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ubi-utils/new-utils/src/common.h') diff --git a/ubi-utils/new-utils/src/common.h b/ubi-utils/new-utils/src/common.h index a3fc51f..bd99341 100644 --- a/ubi-utils/new-utils/src/common.h +++ b/ubi-utils/new-utils/src/common.h @@ -1,5 +1,5 @@ /* - * Copyright (c) Artem Bityutskiy, 2007 + * Copyright (c) Artem Bityutskiy, 2007, 2008 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,6 +40,9 @@ extern "C" { #define normsg(fmt, ...) do { \ printf(PROGRAM_NAME ": " fmt "\n", ##__VA_ARGS__); \ } while(0) +#define normsg_cont(fmt, ...) do { \ + printf(PROGRAM_NAME ": " fmt, ##__VA_ARGS__); \ +} while(0) /* Error messages */ #define errmsg(fmt, ...) ({ \ -- cgit v1.2.3