[Spice-devel] [PATCH 04/14] Do not print function calling vd_printf
Frediano Ziglio
fziglio at redhat.com
Thu Sep 1 12:00:46 UTC 2016
vd_printf already print the current function
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
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
More information about the Spice-devel
mailing list