summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-07-13 18:41:41 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-07-13 18:41:41 +0000
commit4289b1a127a48d1de4651e7d1295194aed87ccc3 (patch)
treee795e7d5af34a82d140d77a517ebbacdc928d511 /libdiskfs
parentca261408b6542d381c806e3b4e53b2d9a0754763 (diff)
Formerly file-set-trans.c.~9~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/file-set-trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/file-set-trans.c b/libdiskfs/file-set-trans.c
index 6858ee27..fa556faf 100644
--- a/libdiskfs/file-set-trans.c
+++ b/libdiskfs/file-set-trans.c
@@ -120,8 +120,8 @@ diskfs_S_file_set_translator (struct protid *cred,
}
minor = strtol (arg, 0, 0);
- np->dn_stat.st_rdev = (((major & 0x377) << 8)
- | (minor & 0x377));
+ np->dn_stat.st_rdev = (((major & 0377) << 8)
+ | (minor & 0377));
}
diskfs_truncate (np, 0);