summaryrefslogtreecommitdiff
path: root/PACE/pace/win32/stat.inl
diff options
context:
space:
mode:
Diffstat (limited to 'PACE/pace/win32/stat.inl')
-rw-r--r--PACE/pace/win32/stat.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/PACE/pace/win32/stat.inl b/PACE/pace/win32/stat.inl
index 94138bcfb71..fb45b0ded51 100644
--- a/PACE/pace/win32/stat.inl
+++ b/PACE/pace/win32/stat.inl
@@ -46,7 +46,7 @@ pace_fstat (PACE_HANDLE fildes, pace_stat_s * buf)
int fd = _open_osfhandle ((long) fildes, 0);
if (fd != -1)
{
- retval = ::_fstat (fd, (struct _stat *) stp);
+ retval = _fstat (fd, (struct _stat *) buf);
}
_close (fd);