Peter Beutner : msvcrt: Fix use of uninitialized variable.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Feb 17 11:41:50 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 58d3f145147974c01d0f97f2c288315aa2174256
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=58d3f145147974c01d0f97f2c288315aa2174256

Author: Peter Beutner <p.beutner at gmx.net>
Date:   Fri Feb 17 17:37:14 2006 +0100

msvcrt: Fix use of uninitialized variable.

---

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

diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 7c7df8f..14e786a 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");




More information about the wine-cvs mailing list