diff options
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r-- | winsup/cygwin/fhandler_proc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index dd4af7ec5..d781fdf55 100644 --- a/winsup/cygwin/fhandler_proc.cc +++ b/winsup/cygwin/fhandler_proc.cc @@ -124,7 +124,7 @@ fhandler_proc::fhandler_proc (DWORD devtype): int fhandler_proc::fstat (struct __stat64 *buf, path_conv *pc) { - debug_printf ("fstat (%s)", (char *) *pc); + debug_printf ("fstat (%s)", get_name ()); const char *path = get_name (); path += proc_len; (void) fhandler_base::fstat (buf, pc); @@ -199,7 +199,7 @@ fhandler_proc::open (path_conv *pc, int flags, mode_t mode) const char *path; - path = (char *) *pc + proc_len; + path = get_name () + proc_len; if (!*path) { |