Changed meaning of unrecognized severity texts from FATAL to ALL

This commit is contained in:
Thomas Schmitt 2008-02-22 21:38:09 +00:00
parent 77b4fe309f
commit 0919c6c2a1
2 changed files with 2 additions and 4 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2008.02.22.213527"
#define Cdrskin_timestamP "2008.02.22.213726"

View File

@ -247,7 +247,7 @@ int burn_msgs_submit(int error_code, char msg_text[], int os_errno,
ret = libdax_msgs__text_to_sev(severity, &sevno, 0);
if (ret <= 0)
sevno = LIBDAX_MSGS_SEV_FATAL;
sevno = LIBDAX_MSGS_SEV_ALL;
if (error_code <= 0) {
switch(sevno) {
case LIBDAX_MSGS_SEV_ABORT: error_code = 0x00040000;
@ -275,8 +275,6 @@ int burn_text_to_sev(char *severity_name, int *sevno, int flag)
int ret;
ret = libdax_msgs__text_to_sev(severity_name, sevno, 0);
if (ret <= 0)
*sevno = LIBDAX_MSGS_SEV_FATAL;
return ret;
}