summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r--winsup/cygwin/fhandler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc
index 3dd549c41..31d77d7e2 100644
--- a/winsup/cygwin/fhandler.cc
+++ b/winsup/cygwin/fhandler.cc
@@ -1245,8 +1245,8 @@ fhandler_base::dup (fhandler_base *child)
if (!DuplicateHandle (hMainProc, get_handle (), hMainProc, &nh, 0, TRUE,
DUPLICATE_SAME_ACCESS))
{
- system_printf ("dup(%s) failed, handle %x, %E",
- get_name (), get_handle ());
+ debug_printf ("dup(%s) failed, handle %x, %E",
+ get_name (), get_handle ());
__seterrno ();
return -1;
}