diff options
Diffstat (limited to 'winsup/cygwin/devices.h')
-rw-r--r-- | winsup/cygwin/devices.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/devices.h b/winsup/cygwin/devices.h index c01e230..f17aeed 100644 --- a/winsup/cygwin/devices.h +++ b/winsup/cygwin/devices.h @@ -144,7 +144,7 @@ struct device void tty_to_real_device (); inline operator int () const {return devn;} inline void setfs (bool x) {dev_on_fs = x;} - inline bool isfs () const {return dev_on_fs;} + inline bool isfs () const {return dev_on_fs || devn == FH_FS;} }; extern const device *console_dev; |