https://git.reactos.org/?p=reactos.git;a=commitdiff;h=764b2b6ef72cff6072918…
commit 764b2b6ef72cff60729184284d654c6a47699539
Author: Pierre Schweitzer <pierre(a)reactos.org>
AuthorDate: Sat Nov 18 21:25:00 2017 +0100
[NFS41_NP] Fix debug print in case of connection cancel failure
---
dll/np/nfs/nfs41_np.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dll/np/nfs/nfs41_np.c b/dll/np/nfs/nfs41_np.c
index 7dea7f3548..42aa46730d 100644
--- a/dll/np/nfs/nfs41_np.c
+++ b/dll/np/nfs/nfs41_np.c
@@ -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
}
}