summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/devices.gperf
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/devices.gperf')
-rw-r--r--winsup/cygwin/devices.gperf2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.gperf b/winsup/cygwin/devices.gperf
index 2d5b784b2..49202a70c 100644
--- a/winsup/cygwin/devices.gperf
+++ b/winsup/cygwin/devices.gperf
@@ -86,7 +86,7 @@ device::parse (const char *s)
if (++len < prior_len)
{
dev = lookup (s, len);
- if (!dev || (!dev->upper && !dev->devn == FH_TTY))
+ if (!dev || !dev->upper)
dev = NULL;
else
{