From 0fdbb2d0cdf86dddcd7c915ab3ef1172c704ecc2 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 13 Jun 2011 23:49:00 +0000 Subject: * fhandler_tty_slave.cc (fhandler_tty_slave::fhandler_tty_slave): Revert previous change since unit 0 is perfectly valid. --- winsup/cygwin/fhandler_tty.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_tty.cc') diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 821d6e9..0800cd9 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -472,7 +472,7 @@ process_ioctl (void *) fhandler_tty_slave::fhandler_tty_slave (int unit) : fhandler_tty_common (), inuse (NULL) { - if (unit > 0) + if (unit >= 0) dev ().parse (DEV_TTYS_MAJOR, unit); } -- cgit v1.1