[Spice-devel] [vdagent-win PATCH v2 6/6] vdservice: Do not append line terminator to log

Frediano Ziglio fziglio at redhat.com
Tue May 29 09:33:28 UTC 2018


vd_printf already add a line terminator

Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 vdservice/vdservice.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp
index ec6243e..7564fbb 100644
--- a/vdservice/vdservice.cpp
+++ b/vdservice/vdservice.cpp
@@ -337,7 +337,7 @@ VOID WINAPI VDService::main(DWORD argc, TCHAR* argv[])
     s->_status_handle = RegisterServiceCtrlHandlerEx(VD_SERVICE_NAME, &VDService::control_handler,
                                                      s);
     if (!s->_status_handle) {
-        vd_printf("RegisterServiceCtrlHandler failed\n");
+        vd_printf("RegisterServiceCtrlHandler failed");
         return;
     }
 
-- 
2.17.0



More information about the Spice-devel mailing list