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 618d8c4..4c34162 100644 --- a/e2fsprogs/chattr.c +++ b/e2fsprogs/chattr.c @@ -112,9 +112,9 @@ static int chattr_dir_proc(const char *, struct dirent *, void *); static void change_attributes(const char * name) { unsigned long fsflags; - STRUCT_STAT st; + struct stat st; - if (LSTAT(name, &st) == -1) { + if (lstat(name, &st) == -1) { bb_error_msg("stat %s failed", name); return; } |