From bdf5a0c4ba5a6a022db45a7691ba27c31991f415 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Thu, 20 Dec 2007 20:48:06 +0200 Subject: ubi-utils: add -S option to ubimkvol Plus some additional clean-ups. Signed-off-by: Artem Bityutskiy --- ubi-utils/src/common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ubi-utils/src/common.h') 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__); \ -- cgit v1.2.3