From c1e7110a073c816cade38adf334d2a0cd460879f Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 17 Feb 1994 20:14:10 +0000 Subject: entered into RCS --- libdiskfs/file-chmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdiskfs') diff --git a/libdiskfs/file-chmod.c b/libdiskfs/file-chmod.c index b06cf02e..c5228d13 100644 --- a/libdiskfs/file-chmod.c +++ b/libdiskfs/file-chmod.c @@ -38,7 +38,7 @@ diskfs_S_file_chmod (struct protid *cred, if (!diskfs_isuid (np->dn_stat.st_uid, cred)) mode &= ~S_ISUID; } - mode |= ((np->dn_stat.st_mode & (S_IFMT | S_ISPARE))); + mode |= (np->dn_stat.st_mode & (S_IFMT | S_ISPARE)); np->dn_stat.st_mode = mode; np->dn_set_ctime = 1; } -- cgit v1.2.3