Cygwin: proc fd: fix a copy/paste bug calling file_pathconv

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2019-02-05 15:20:50 +01:00
parent 1f6340aa8b
commit b59f5795e6
1 changed files with 1 additions and 1 deletions

View File

@ -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);