[PATCH 04/14] Do not print function calling vd_printf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



vd_printf already print the current function

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 vdagent/display_configuration.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vdagent/display_configuration.cpp b/vdagent/display_configuration.cpp
index 79ea3b4..86f7f7b 100644
--- a/vdagent/display_configuration.cpp
+++ b/vdagent/display_configuration.cpp
@@ -457,14 +457,14 @@ bool WDDMInterface::custom_display_escape(LPCTSTR device_name, DEVMODE* dev_mode
         return true;
     }
 
-    vd_printf("%s: updating %S resolution\n", __FUNCTION__, device_name);
+    vd_printf("updating %S resolution", device_name);
 
     WDDMCustomDisplayEscape wddm_escape(dev_mode);
     if (escape(device_name, &wddm_escape, sizeof(wddm_escape))) {
         return _ccd.update_mode_size(device_name, dev_mode);
     }
 
-    vd_printf("%s: (%dx%d)", __FUNCTION__, mode->sourceMode.width, mode->sourceMode.height);
+    vd_printf("(%dx%d)", mode->sourceMode.width, mode->sourceMode.height);
     return false;
 }
 
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]