[NFS41_NP] Fix debug print in case of connection cancel failure
authorPierre Schweitzer <pierre@reactos.org>
Sat, 18 Nov 2017 20:25:00 +0000 (21:25 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Sat, 18 Nov 2017 20:27:30 +0000 (21:27 +0100)
dll/np/nfs/nfs41_np.c

index 7dea7f3..42aa467 100644 (file)
@@ -650,7 +650,11 @@ NPCancelConnection(
                 DbgP((TEXT("NPCancelConnection: Name %S EntryName %S\n"),
                             lpName,pNetResource->LocalName));
                 DbgP((TEXT("NPCancelConnection: Name Length %d Entry Name Length %d\n"),
+#ifndef __REACTOS__
                            pNetResource->LocalNameLength,pNetResource->LocalName));
+#else
+                           (wcslen(lpName) + 1) * sizeof(WCHAR), pNetResource->LocalNameLength));
+#endif
 
             }
         }