Piotr Caban : msvcrt: Fixed debug message in strncpy_s.

Alexandre Julliard julliard at winehq.org
Fri Apr 5 14:02:16 CDT 2013


Module: wine
Branch: master
Commit: 4716cd37eee8f7e9f5deb65db785005956920b6d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4716cd37eee8f7e9f5deb65db785005956920b6d

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Fri Apr  5 15:18:18 2013 +0200

msvcrt: Fixed debug message in strncpy_s.

---

 dlls/msvcrt/heap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msvcrt/heap.c b/dlls/msvcrt/heap.c
index e8c3765..bd914a7 100644
--- a/dlls/msvcrt/heap.c
+++ b/dlls/msvcrt/heap.c
@@ -596,7 +596,7 @@ int CDECL strncpy_s(char *dest, MSVCRT_size_t numberOfElements,
 {
     MSVCRT_size_t i, end;
 
-    TRACE("(%s %lu %s %lu)\n", dest, numberOfElements, src, count);
+    TRACE("(%p %lu %s %lu)\n", dest, numberOfElements, debugstr_a(src), count);
 
     if(!count) {
         if(dest && numberOfElements)




More information about the wine-cvs mailing list