Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-06-22 11:37:49 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-06-22 11:37:49 +0400
commit49e6e30f7a4bebb0451c57565550a66ab92f3082 (patch)
tree3d063c937f403fa387fb03facbb63dfcc8cbd238 /winsup/cygwin/fhandler_tty.cc
parent4dfc786b8b7ab8abd71e5cc8be1b8de7bc28d85e (diff)
* fhandler_tty.cc (fhandler_pty_master::setup): Fix crash in debug
output.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index f285dba1b..a03fddbdc 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -1676,7 +1676,8 @@ err:
close_maybe (from_master);
close_maybe (to_master);
close_maybe (master_ctl);
- termios_printf ("tty%d open failed - failed to create %s", errstr);
+ termios_printf ("tty%d open failed - failed to create %s", t.get_unit (),
+ errstr);
return false;
}