void log_error(int level, int error, const char *txt) { /* generic error */
    s_log(level, "%s: %s (%d)", txt, s_strerror(error), error);
}
void log_error(int level, int error, const char *txt) {  
    s_log(level, "%s: %s (%d)", txt, s_strerror(error), error);
}