diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 21:54:47 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 21:54:47 +0400 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /e2fsprogs/chattr.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) |
correct largefile support, add comments about it.
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 618d8c440..4c341627e 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; } |