diff options
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 60e95780d..3b2878b44 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -135,8 +135,9 @@ fhandler_proc::get_proc_fhandler (const char *path) * <0 if path is a file. */ int -fhandler_proc::exists (const char *path) +fhandler_proc::exists () { + const char *path = get_name (); debug_printf ("exists (%s)", path); path += proc_len; if (*path == 0) |