dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0033-Revert-spice-vmc-add-counter-to-debug-statements.patch

Justin M. Forbes a81953
From a5d6e7e76bf5f5fb0e2c8232ddca2b850bfc1afa Mon Sep 17 00:00:00 2001
Justin M. Forbes a81953
From: Gerd Hoffmann <kraxel@redhat.com>
Justin M. Forbes a81953
Date: Wed, 8 Sep 2010 11:45:49 +0200
Justin M. Forbes a81953
Subject: [PATCH 33/39] Revert "spice-vmc: add counter to debug statements"
Justin M. Forbes a81953
Justin M. Forbes a81953
This reverts commit f3ab5192a20ee9dc7776b13ec0ba75030bb52a20.
Justin M. Forbes a81953
---
Justin M. Forbes a81953
 hw/spice-vmc.c |    3 +--
Justin M. Forbes a81953
 1 files changed, 1 insertions(+), 2 deletions(-)
Justin M. Forbes a81953
Justin M. Forbes a81953
diff --git a/hw/spice-vmc.c b/hw/spice-vmc.c
Justin M. Forbes a81953
index 041f243..06e30e6 100644
Justin M. Forbes a81953
--- a/hw/spice-vmc.c
Justin M. Forbes a81953
+++ b/hw/spice-vmc.c
Justin M. Forbes a81953
@@ -23,9 +23,8 @@
Justin M. Forbes a81953
Justin M. Forbes a81953
 #define dprintf(_svc, _level, _fmt, ...)                                \
Justin M. Forbes a81953
     do {                                                                \
Justin M. Forbes a81953
-        static unsigned __dprintf_counter = 0;                          \
Justin M. Forbes a81953
         if (_svc->debug >= _level) {                                    \
Justin M. Forbes a81953
-            fprintf(stderr, "svc: %3d: " _fmt, ++__dprintf_counter, ## __VA_ARGS__);\
Justin M. Forbes a81953
+            fprintf(stderr, "svc: " _fmt, ## __VA_ARGS__);              \
Justin M. Forbes a81953
         }                                                               \
Justin M. Forbes a81953
     } while (0)
Justin M. Forbes a81953
Justin M. Forbes a81953
-- 
Justin M. Forbes a81953
1.7.2.3
Justin M. Forbes a81953