diff options
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r-- | winsup/cygwin/syscalls.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index fc9bbe50e..d126e79c2 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -1904,8 +1904,6 @@ statvfs (const char *fname, struct statvfs *sfs) DWORD spc, bps, availc, freec, totalc, vsn, maxlen, flags; BOOL status, statusex; - push_thread_privilege (SE_CHANGE_NOTIFY_PRIV, true); - /* GetDiskFreeSpaceEx must be called before GetDiskFreeSpace on WinME, to avoid the MS KB 314417 bug */ statusex = GetDiskFreeSpaceEx (root, &availb, &totalb, &freeb); @@ -1970,8 +1968,6 @@ statvfs (const char *fname, struct statvfs *sfs) if (ret) __seterrno (); - pop_thread_privilege (); - return ret; } |