summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/fhandler_process_fd.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_process_fd.cc b/winsup/cygwin/fhandler_process_fd.cc
index 7d70ebe8d..4f326b69a 100644
--- a/winsup/cygwin/fhandler_process_fd.cc
+++ b/winsup/cygwin/fhandler_process_fd.cc
@@ -60,7 +60,7 @@ fhandler_process_fd::fetch_fh (HANDLE &out_hdl, uint32_t flags)
return NULL;
}
size_t size;
- void *buf = p->file_pathconv (fd, FFH_LINKAT, size);
+ void *buf = p->file_pathconv (fd, flags, size);
if (size == 0)
{
set_errno (ENOENT);