diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-04-20 11:29:10 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-04-20 11:29:10 +0400 |
commit | 12c0f2d90957a684a0fae570a9f06adddade287b (patch) | |
tree | e7a1b8809d53a20f7ce9a50c27ef50d560aa72f2 /winsup/cygwin/path.h | |
parent | f59c2998a13ab002d959ce7f27d44516fc8cbdd8 (diff) |
* devices.h: Renumber internal devices so that FH_PROCESS is part of
the /proc family of virtual devices.
(FH_PROC_MAX_MINOR): Define.
* path.h (isproc_dev): Use FH_PROC_MAX_MINOR rather than FH_PROC.
Diffstat (limited to 'winsup/cygwin/path.h')
-rw-r--r-- | winsup/cygwin/path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index d2fc778e5..adba7067d 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -18,7 +18,7 @@ details. */ #include <fcntl.h> #define isproc_dev(devn) \ - (devn >= FH_PROC_MIN_MINOR && devn <= FH_PROC) + (devn >= FH_PROC_MIN_MINOR && devn <= FH_PROC_MAX_MINOR) #define isprocsys_dev(devn) (devn == FH_PROCSYS) |