diff --git a/src/error.h b/src/error.h index 8464094..c518869 100644 --- a/src/error.h +++ b/src/error.h @@ -152,8 +152,8 @@ /* Can't convert filename to requested charset (HINT,MEDIUM, -142) */ #define ISO_FILENAME_WRONG_CHARSET 0xC020FF72 -/* File can't be added to the tree (WARNING,MEDIUM, -143) */ -#define ISO_FILE_CANT_ADD 0xD020FF71 +/* File can't be added to the tree (SORRY,HIGH, -143) */ +#define ISO_FILE_CANT_ADD 0xE030FF71 /** * File path break specification constraints and will be ignored diff --git a/src/tree.c b/src/tree.c index edc9fff..ddc08f9 100644 --- a/src/tree.c +++ b/src/tree.c @@ -488,7 +488,7 @@ int iso_add_dir_src_rec(IsoImage *image, IsoDir *parent, IsoFileSource *dir) ret = iso_file_source_open(dir); if (ret < 0) { char *path = iso_file_source_get_path(dir); - /* instead of the probable error, we throw a warning */ + /* instead of the probable error, we throw a sorry event */ ret = iso_msg_submit(image->id, ISO_FILE_CANT_ADD, ret, "Can't open dir %s", path); free(path);