diff options
Diffstat (limited to 'fs/sysfs/group.c')
-rw-r--r-- | fs/sysfs/group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/sysfs/group.c b/fs/sysfs/group.c index 194414f8298c..dd1701caecc9 100644 --- a/fs/sysfs/group.c +++ b/fs/sysfs/group.c | |||
@@ -33,7 +33,7 @@ static int create_files(struct sysfs_dirent *dir_sd, struct kobject *kobj, | |||
33 | int error = 0, i; | 33 | int error = 0, i; |
34 | 34 | ||
35 | for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { | 35 | for (i = 0, attr = grp->attrs; *attr && !error; i++, attr++) { |
36 | mode_t mode = 0; | 36 | umode_t mode = 0; |
37 | 37 | ||
38 | /* in update mode, we're changing the permissions or | 38 | /* in update mode, we're changing the permissions or |
39 | * visibility. Do this by first removing then | 39 | * visibility. Do this by first removing then |