diff options
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ -const char * sc_log_str (int t) { - switch (t) { +const char * sc_log_str (SC_OPT_TYPE t) { + switch (t & SC_LOG_MASK) { case SC_LOG_ERROR: return "SC_LOG_ERROR"; case SC_LOG_WARNING: |