summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r--winsup/cygwin/path.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h
index 038325272..d2fc778e5 100644
--- a/winsup/cygwin/path.h
+++ b/winsup/cygwin/path.h
@@ -18,8 +18,7 @@ details. */
#include <fcntl.h>
#define isproc_dev(devn) \
- (devn == FH_PROC || devn == FH_REGISTRY || devn == FH_PROCESS || \
- devn == FH_PROCNET || devn == FH_PROCSYS || devn == FH_PROCSYSVIPC)
+ (devn >= FH_PROC_MIN_MINOR && devn <= FH_PROC)
#define isprocsys_dev(devn) (devn == FH_PROCSYS)