diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 17:54:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-08 17:54:47 +0000 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /e2fsprogs/chattr.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) | |
download | busybox-w32-7039a66b58706457c7423de60556e04545432943.tar.gz busybox-w32-7039a66b58706457c7423de60556e04545432943.tar.bz2 busybox-w32-7039a66b58706457c7423de60556e04545432943.zip |
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 *); | |||
112 | static void change_attributes(const char * name) | 112 | static void change_attributes(const char * name) |
113 | { | 113 | { |
114 | unsigned long fsflags; | 114 | unsigned long fsflags; |
115 | STRUCT_STAT st; | 115 | struct stat st; |
116 | 116 | ||
117 | if (LSTAT(name, &st) == -1) { | 117 | if (lstat(name, &st) == -1) { |
118 | bb_error_msg("stat %s failed", name); | 118 | bb_error_msg("stat %s failed", name); |
119 | return; | 119 | return; |
120 | } | 120 | } |