summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_console.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-03-23 23:58:52 +0000
committerChristopher Faylor <me@cgf.cx>2006-03-23 23:58:52 +0000
commitf12c262a43627cad865664b80102a686c44aae15 (patch)
tree2bf8608f5ad0bacbfd0dd3c969199cb2b34b2b2c /winsup/cygwin/fhandler_console.cc
parent3eb92a58f851da461193a1bbb8b577868355cfb6 (diff)
downloadcygnal-f12c262a43627cad865664b80102a686c44aae15.tar.gz
cygnal-f12c262a43627cad865664b80102a686c44aae15.tar.bz2
cygnal-f12c262a43627cad865664b80102a686c44aae15.zip
* fhandler_console.cc (fhandler_console::fixup_after_fork_exec): Make error
message more explicit. * pinfo.cc (_pinfo::commune_request): Don't lock process unless we're looking for fifos.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 23f2cf8e7..801ab5a6a 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -1804,12 +1804,12 @@ fhandler_console::fixup_after_fork_exec (bool execing)
bool sawerr = false;
if (!get_io_handle ())
{
- system_printf ("error opening input console handle after fork/exec, errno %d, %E", get_errno ());
+ system_printf ("error opening input console handle for %s after fork/exec, errno %d, %E", get_name (), get_errno ());
sawerr = true;
}
if (!get_output_handle ())
{
- system_printf ("error opening output console handle after fork/exec, errno %d, %E", get_errno ());
+ system_printf ("error opening output console handle for %s after fork/exec, errno %d, %E", get_name (), get_errno ());
sawerr = true;
}