mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
common/spice_common.h: red_printf_debug: fix wrong sign
This commit is contained in:
parent
758313d74c
commit
dceb04044b
@ -70,7 +70,7 @@
|
||||
if (debug_level == -1) { \
|
||||
debug_level = getenv("SPICE_DEBUG_LEVEL") != NULL ? atoi(getenv("SPICE_DEBUG_LEVEL")) : 0; \
|
||||
} \
|
||||
if (debug >= debug_level) { \
|
||||
if (debug <= debug_level) { \
|
||||
printf("%s: " format "\n", __FUNCTION__, ## __VA_ARGS__ ); \
|
||||
} \
|
||||
} while(0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user