summaryrefslogtreecommitdiff
path: root/ubi-utils/new-utils/src/common.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 16:43:20 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-04-17 16:46:23 +0300
commit49953500edc32e949b5f567fca67ed5430a68540 (patch)
tree4b2ba0eca5febffeea6c8d046d78f8eb02a9b71f /ubi-utils/new-utils/src/common.h
parent7280a34fc4dc7a40e6fc0b3317fb09ec90413af7 (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/common.h')
-rw-r--r--ubi-utils/new-utils/src/common.h5
1 files changed, 4 insertions, 1 deletions
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, ...) ({ \