Browse Source

Adapted severity list production to the format of libburn

release-1.5.4.branch
Thomas Schmitt 9 years ago
parent
commit
57a14ec0be
  1. 2
      libisofs/libiso_msgs.c
  2. 2
      libisofs/libiso_msgs.h

2
libisofs/libiso_msgs.c

@ -288,7 +288,7 @@ int libiso_msgs__sev_to_text(int severity, char **severity_name,
int flag)
{
if(flag&1) {
*severity_name= "NEVER\nABORT\nFATAL\nFAILURE\nMISHAP\nSORRY\nWARNING\nHINT\nNOTE\nUPDATE\nDEBUG\nERRFILE\nALL";
*severity_name= "ALL ERRFILE DEBUG UPDATE NOTE HINT WARNING SORRY MISHAP FAILURE FATAL ABORT NEVER";
return(1);
}
*severity_name= "";

2
libisofs/libiso_msgs.h

@ -316,7 +316,7 @@ int libiso_msgs_submit(struct libiso_msgs *m, int origin, int error_code,
/** Convert a registered severity number into a severity name
@param flag Bitfield for control purposes:
bit0= list all severity names in a newline separated string
bit0= list all severity names in a blank separated string
@return >0 success, <=0 failure
*/
int libiso_msgs__sev_to_text(int severity, char **severity_name,

Loading…
Cancel
Save