From f040f31d0594a5ea8dde68d173a362a620397594 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 24 May 2012 13:06:49 +0200 Subject: [PATCH] Registered new error ISO_SECT_SCATTERED in iso_error_to_msg(). --- libisofs/libisofs.h | 2 +- libisofs/messages.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libisofs/libisofs.h b/libisofs/libisofs.h index 7c80fb8..ba04fad 100644 --- a/libisofs/libisofs.h +++ b/libisofs/libisofs.h @@ -7046,7 +7046,7 @@ int iso_md5_match(char first_md5[16], char second_md5[16]); (FAILURE, HIGH, -379) */ #define ISO_AAIP_ACL_MULT_OBJ 0xE830FE83 -/** File sections do not form consequtive array of blocks +/** File sections do not form consecutive array of blocks (FAILURE, HIGH, -378) */ #define ISO_SECT_SCATTERED 0xE830FE82 diff --git a/libisofs/messages.c b/libisofs/messages.c index 5c11a3d..0bcb968 100644 --- a/libisofs/messages.c +++ b/libisofs/messages.c @@ -468,6 +468,8 @@ const char *iso_error_to_msg(int errcode) return "Attribute name cannot be represented"; case ISO_AAIP_ACL_MULT_OBJ: return "ACL text contains multiple entries of user::, group::, other::"; + case ISO_SECT_SCATTERED: + return "File sections do not form consecutive array of blocks"; default: return "Unknown error"; }