Cygwin: proc fd: fix a copy/paste bug calling file_pathconv
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
1f6340aa8b
commit
b59f5795e6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue