From 4289b1a127a48d1de4651e7d1295194aed87ccc3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 13 Jul 1994 18:41:41 +0000 Subject: Formerly file-set-trans.c.~9~ --- libdiskfs/file-set-trans.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs') 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); -- cgit v1.2.3