summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-11-06 14:29:20 +0200
committerAlon Levy <alevy@redhat.com>2011-11-07 10:20:41 +0200
commit21a22bcbf11de063d1948e01b91e0eea0b747cdc (patch)
tree425bceac2bb570caeeab133692d2bca260b9c98b
parentaefe01c02c452bbc79532cb2011eaf12f8ecf58f (diff)
common/spice_common.h: red_printf_debug: fix wrong sign
-rw-r--r--common/spice_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spice_common.h b/common/spice_common.h
index 51c6a684..f6205a33 100644
--- a/common/spice_common.h
+++ b/common/spice_common.h
@@ -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)