diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/file-set-trans.c | 4 |
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); |