[Spice-devel] [PATCH 1/5] common/spice_common.h: red_printf_debug: fix wrong sign
Yonit Halperin
yhalperi at redhat.com
Sun Nov 6 23:09:09 PST 2011
Hi,
just trailing whitespace.
Ack.
On 11/06/2011 06:49 PM, Alon Levy wrote:
> ---
> 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 51c6a68..f6205a3 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)
More information about the Spice-devel
mailing list