diff options
Diffstat (limited to 'e2fsprogs/chattr.c')
-rw-r--r-- | e2fsprogs/chattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2fsprogs/chattr.c b/e2fsprogs/chattr.c index 66838e642..c39003821 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c | |||
@@ -161,8 +161,8 @@ skip_setflags: | |||
161 | iterate_on_dir(name, chattr_dir_proc, NULL); | 161 | iterate_on_dir(name, chattr_dir_proc, NULL); |
162 | } | 162 | } |
163 | 163 | ||
164 | static int chattr_dir_proc(const char *dir_name, struct dirent *de, | 164 | static int chattr_dir_proc(const char *dir_name, struct dirent *de, |
165 | void *private EXT2FS_ATTR((unused))) | 165 | void *private EXT2FS_ATTR((unused))) |
166 | { | 166 | { |
167 | /*if (strcmp(de->d_name, ".") && strcmp(de->d_name, "..")) {*/ | 167 | /*if (strcmp(de->d_name, ".") && strcmp(de->d_name, "..")) {*/ |
168 | if (de->d_name[0] == '.' && (de->d_name[1] == '\0' || \ | 168 | if (de->d_name[0] == '.' && (de->d_name[1] == '\0' || \ |