From 58d3f145147974c01d0f97f2c288315aa2174256 Mon Sep 17 00:00:00 2001
From: Peter Beutner
Date: Fri, 17 Feb 2006 17:37:14 +0100
Subject: [PATCH] msvcrt: Fix use of uninitialized variable.
---
dlls/msvcrt/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index 7c7df8fdcf4..14e786a5487 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -803,7 +803,7 @@ __int64 _lseeki64(int fd, __int64 offset, int whence)
}
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");