diff options
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 960b37549..0ee0bbb8a 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -374,7 +374,7 @@ fhandler_base::fhaccess (int flags) goto eaccess_done; else if (has_acls () && allow_ntsec) { - res = check_file_access (get_win32_name (), flags); + res = check_file_access (pc, flags); goto done; } else if (get_device () == FH_REGISTRY && allow_ntsec && open (O_RDONLY, 0) |