diff options
Diffstat (limited to 'pkg/p9/buffer.go')
-rw-r--r-- | pkg/p9/buffer.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/p9/buffer.go b/pkg/p9/buffer.go index 9575ddf12..b7bb14ef9 100644 --- a/pkg/p9/buffer.go +++ b/pkg/p9/buffer.go @@ -144,7 +144,7 @@ func (b *buffer) ReadGID() GID { // ReadPermissions reads a file mode value and applies the mask for permissions. func (b *buffer) ReadPermissions() FileMode { - return b.ReadFileMode() & PermissionsMask + return b.ReadFileMode() & permissionsMask } // ReadFileMode reads a file mode value. @@ -230,7 +230,7 @@ func (b *buffer) WriteGID(gid GID) { // WritePermissions applies a permissions mask and writes the FileMode. func (b *buffer) WritePermissions(perm FileMode) { - b.WriteFileMode(perm & PermissionsMask) + b.WriteFileMode(perm & permissionsMask) } // WriteFileMode writes a FileMode. |