summaryrefslogtreecommitdiff
path: root/ubi-utils/src/common.h
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-20 20:48:06 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2007-12-20 21:32:43 +0200
commitbdf5a0c4ba5a6a022db45a7691ba27c31991f415 (patch)
tree77091ab195487616de03017b996ad4b3270c50b1 /ubi-utils/src/common.h
parent747896d1d55f38e23083a3ea2fd6f93fa3259971 (diff)
ubi-utils: add -S option to ubimkvol
Plus some additional clean-ups. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/src/common.h')
-rw-r--r--ubi-utils/src/common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ubi-utils/src/common.h b/ubi-utils/src/common.h
index 30daabe..c20d308 100644
--- a/ubi-utils/src/common.h
+++ b/ubi-utils/src/common.h
@@ -19,6 +19,9 @@
#ifndef __UBI_UTILS_COMMON_H__
#define __UBI_UTILS_COMMON_H__
+/* Maximum device node name length */
+#define MAX_NODE_LEN 255
+
/* Error messages */
#define errmsg(fmt, ...) do { \
fprintf(stderr, "Error: " fmt "\n", ##__VA_ARGS__); \