From d495ee9ff03da700d30b22bf06dd8b684c7125ab Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 10 Sep 2004 08:34:37 +0000 Subject: [PATCH] * fhandler.cc (fhandler_base::dup): Use debug_printf. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5e98a2ea6..a0f1e778b 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-09-10 Corinna Vinschen + + * fhandler.cc (fhandler_base::dup): Use debug_printf. + 2004-09-10 Corinna Vinschen * Makefile.in: Create libutil.a from bsdlib.o exports. 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; }