diff options
author | Denis Vlasenko | 2006-10-08 17:54:47 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-08 17:54:47 +0000 |
commit | 7039a66b58706457c7423de60556e04545432943 (patch) | |
tree | a512daebc3674c819766664c8ea17d41ef7fef02 /e2fsprogs/util.c | |
parent | 1385899416a4396385ad421ae1f532be7103738a (diff) | |
download | busybox-7039a66b58706457c7423de60556e04545432943.zip busybox-7039a66b58706457c7423de60556e04545432943.tar.gz |
correct largefile support, add comments about it.
Diffstat (limited to 'e2fsprogs/util.c')
-rw-r--r-- | e2fsprogs/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c index aaee50a..e68c457 100644 --- a/e2fsprogs/util.c +++ b/e2fsprogs/util.c @@ -33,12 +33,12 @@ void proceed_question(void) void check_plausibility(const char *device, int force) { int val; - STRUCT_STAT s; - val = STAT(device, &s); + struct stat s; + val = stat(device, &s); if (force) return; if(val == -1) - bb_perror_msg_and_die("Could not stat %s", device); + bb_perror_msg_and_die("cannot stat %s", device); if (!S_ISBLK(s.st_mode)) { printf("%s is not a block special device.\n", device); proceed_question(); |