summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/syscalls.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/syscalls.cc')
-rw-r--r--winsup/cygwin/syscalls.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index 6ec1e0595..79eb62f75 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1666,9 +1666,9 @@ setmode (int fd, int mode)
setmode_file = fd;
_fwalk (_REENT, setmode_helper);
- syscall_printf ("setmode (%d, %s) returns %s\n", fd,
- mode&O_TEXT ? "text" : "binary",
- res&O_TEXT ? "text" : "binary");
+ syscall_printf ("setmode (%d<%s>, %s) returns %s\n", fd, p->get_name (),
+ mode & O_TEXT ? "text" : "binary",
+ res & O_TEXT ? "text" : "binary");
return res;
}