Commit 584f82df authored by cRTrn13's avatar cRTrn13

logging: atoi() -> strtol()

parent 9947a516
......@@ -29,7 +29,7 @@ void debug(char *file, int line, uint32_t mask, const char *format, ...)
debug_init = 1;
if ((env = getenv("BD_DEBUG_MASK"))) {
debug_mask = atoi(env);
debug_mask = strtol(env, NULL, 0);
} else {
debug_mask = 0xffff;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment