[PATCH] msvcrt: fix use of uninitialized variable

Peter Beutner p.beutner at gmx.net
Fri Feb 17 04:42:44 CST 2006


---

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

92e3160803e0c0ac8fda35cf3fde744f6682b4a5
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 82d07a3..9162ee7 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -803,7 +803,7 @@ __int64 _lseeki64(int fd, __int64 offset
   }
 
   TRACE(":fd (%d) to %s pos %s\n",
-        fd,wine_dbgstr_longlong(ofs.QuadPart),
+        fd,wine_dbgstr_longlong(offset),
         (whence==SEEK_SET)?"SEEK_SET":
         (whence==SEEK_CUR)?"SEEK_CUR":
         (whence==SEEK_END)?"SEEK_END":"UNKNOWN");
-- 
1.2.0




More information about the wine-patches mailing list