commit | 7039a66b58706457c7423de60556e04545432943 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Oct 08 17:54:47 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Oct 08 17:54:47 2006 +0000 |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 | |
parent | 1385899416a4396385ad421ae1f532be7103738a [diff] [blame] |
correct largefile support, add comments about it.
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 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; }