aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-11-21 21:50:13 +0000
committerReuben Thomas <rrt@sc3d.org>2007-11-21 21:50:13 +0000
commit49b29ec63167c2c772cf7103450ff21d94e742a2 (patch)
tree5c4e77bb9d8c0543b11c15b2a82e2c87cab26699 /include
parent4f33a4fd430c7ed354df75baf34dc00227b7a6a7 (diff)
downloadplptools-49b29ec63167c2c772cf7103450ff21d94e742a2.tar.gz
plptools-49b29ec63167c2c772cf7103450ff21d94e742a2.tar.bz2
plptools-49b29ec63167c2c772cf7103450ff21d94e742a2.zip
Stop the NFS type bits being clobbered by changing mode bits.
Diffstat (limited to 'include')
-rw-r--r--include/nfs_prot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/nfs_prot.h b/include/nfs_prot.h
index 8bc490f..acba688 100644
--- a/include/nfs_prot.h
+++ b/include/nfs_prot.h
@@ -40,6 +40,7 @@
#define NFSMODE_LNK 0120000
#define NFSMODE_SOCK 0140000
#define NFSMODE_FIFO 0010000
+#define NFSMODE_MASK 07770000
#if !defined(hpux) && !defined(__sgi)
enum nfsstat {