[PATCH] advapi32: Fix trace format of InitiateSystemShutdownEx()

Nikolay Sivov nsivov at codeweavers.com
Sun Feb 12 12:13:53 CST 2017


'Reason' argument is a set of flags

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/advapi32/advapi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c
index def40e57c6..1c528ef741 100644
--- a/dlls/advapi32/advapi.c
+++ b/dlls/advapi32/advapi.c
@@ -231,7 +231,7 @@ BOOL WINAPI InitiateSystemShutdownExA( LPSTR lpMachineName, LPSTR lpMessage,
          DWORD dwTimeout, BOOL bForceAppsClosed, BOOL bRebootAfterShutdown,
          DWORD dwReason)
 {
-     FIXME("%s %s %d %d %d %d\n", debugstr_a(lpMachineName),
+     FIXME("%s %s %d %d %d %#x\n", debugstr_a(lpMachineName),
             debugstr_a(lpMessage), dwTimeout, bForceAppsClosed,
             bRebootAfterShutdown, dwReason);
      return TRUE;
@@ -246,7 +246,7 @@ BOOL WINAPI InitiateSystemShutdownExW( LPWSTR lpMachineName, LPWSTR lpMessage,
          DWORD dwTimeout, BOOL bForceAppsClosed, BOOL bRebootAfterShutdown,
          DWORD dwReason)
 {
-     FIXME("%s %s %d %d %d %d\n", debugstr_w(lpMachineName),
+     FIXME("%s %s %d %d %d %#x\n", debugstr_w(lpMachineName),
             debugstr_w(lpMessage), dwTimeout, bForceAppsClosed,
             bRebootAfterShutdown, dwReason);
      return TRUE;
-- 
2.11.0




More information about the wine-patches mailing list