Adapted severity list production to the format of libburn

This commit is contained in:
Thomas Schmitt 2013-01-08 08:29:57 +01:00
parent c5d8c26653
commit 57a14ec0be
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ int libiso_msgs__sev_to_text(int severity, char **severity_name,
int flag) int flag)
{ {
if(flag&1) { 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); return(1);
} }
*severity_name= ""; *severity_name= "";

View File

@ -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 /** Convert a registered severity number into a severity name
@param flag Bitfield for control purposes: @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 @return >0 success, <=0 failure
*/ */
int libiso_msgs__sev_to_text(int severity, char **severity_name, int libiso_msgs__sev_to_text(int severity, char **severity_name,