diff options
author | Alon Levy <alevy@redhat.com> | 2011-11-06 14:29:20 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-11-07 10:20:41 +0200 |
commit | 21a22bcbf11de063d1948e01b91e0eea0b747cdc (patch) | |
tree | 425bceac2bb570caeeab133692d2bca260b9c98b | |
parent | aefe01c02c452bbc79532cb2011eaf12f8ecf58f (diff) | |
download | spice-21a22bcbf11de063d1948e01b91e0eea0b747cdc.tar.gz spice-21a22bcbf11de063d1948e01b91e0eea0b747cdc.tar.xz spice-21a22bcbf11de063d1948e01b91e0eea0b747cdc.zip |
common/spice_common.h: red_printf_debug: fix wrong sign
-rw-r--r-- | common/spice_common.h | 2 |
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) |