[Spice-devel] [vdagent-win PATCH v3 07/10] vdservice: Do not append line terminator to log

Frediano Ziglio fziglio at redhat.com
Fri Jun 29 07:11:47 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.1



More information about the Spice-devel mailing list