summaryrefslogtreecommitdiff
path: root/ubi-utils/src/error.h
diff options
context:
space:
mode:
authorDrake Dowsett <dowsett@de.ibm.com>2006-11-06 16:54:10 +0100
committerFrank Haverkamp <haver@vnet.ibm.com>2006-11-06 16:54:10 +0100
commit31b015fc08a13a5b63245808f7d1a49eadd8193a (patch)
tree6ab4ce9a35f18e7b53c95c5cb8063cc55e54615d /ubi-utils/src/error.h
parent6918e0320c89bc892a6c5d2c6792e5d058e40a6e (diff)
[MTD] UBI: pfiflash needs to flash raw sections and check CRC
Flashing of raw partitions should be possible now. CRC checking of pfi files before flashing the content was added. Signed-off-by: Frank Haverkamp <haver@vnet.ibm.com>
Diffstat (limited to 'ubi-utils/src/error.h')
-rw-r--r--ubi-utils/src/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/error.h b/ubi-utils/src/error.h
index e8d7137..05d8078 100644
--- a/ubi-utils/src/error.h
+++ b/ubi-utils/src/error.h
@@ -78,7 +78,7 @@ void info_msg(const char *fmt, ...);
__err_msg(fmt, ##__VA_ARGS__); \
} while (0)
#else
-#define dbg_msg(fmt, ...)
+#define dbg_msg(fmt, ...) do {} while (0)
#endif
#endif /* __ERROR_H__ */