+#define FSCK_ERRORS \
+ FSCK_ERROR(RANGE_VIOLATION, "range violation detected, very bad"), \
+ FSCK_ERROR(NOT_A_REGULAR_FILE, "not a regular file"), \
+ FSCK_ERROR(SYNTAX, "fsck syntax error"),
+
+#define FSCK_ERROR(num, txt) E_FSCK_ ## num
+enum {
+ FSCK_DUMMY = (1 << FSCK_ERROR_BIT) - 1,
+ FSCK_ERRORS
+};
+#undef FSCK_ERROR
+#define FSCK_ERROR(num, txt) txt
+const char const *fsck_errors[] = {
+ FSCK_ERRORS