aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs/util.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-08 17:54:47 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-08 17:54:47 +0000
commit8923a8c94c288f5dba133a439f35666b5de2aac4 (patch)
treea512daebc3674c819766664c8ea17d41ef7fef02 /e2fsprogs/util.c
parent87d25a2b8535dc627a02eb539fa3946be2a24647 (diff)
downloadbusybox-w32-8923a8c94c288f5dba133a439f35666b5de2aac4.tar.gz
busybox-w32-8923a8c94c288f5dba133a439f35666b5de2aac4.tar.bz2
busybox-w32-8923a8c94c288f5dba133a439f35666b5de2aac4.zip
correct largefile support, add comments about it.
git-svn-id: svn://busybox.net/trunk/busybox@16343 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'e2fsprogs/util.c')
-rw-r--r--e2fsprogs/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c
index aaee50ae6..e68c457e7 100644
--- a/e2fsprogs/util.c
+++ b/e2fsprogs/util.c
@@ -33,12 +33,12 @@ void proceed_question(void)
33void check_plausibility(const char *device, int force) 33void check_plausibility(const char *device, int force)
34{ 34{
35 int val; 35 int val;
36 STRUCT_STAT s; 36 struct stat s;
37 val = STAT(device, &s); 37 val = stat(device, &s);
38 if (force) 38 if (force)
39 return; 39 return;
40 if(val == -1) 40 if(val == -1)
41 bb_perror_msg_and_die("Could not stat %s", device); 41 bb_perror_msg_and_die("cannot stat %s", device);
42 if (!S_ISBLK(s.st_mode)) { 42 if (!S_ISBLK(s.st_mode)) {
43 printf("%s is not a block special device.\n", device); 43 printf("%s is not a block special device.\n", device);
44 proceed_question(); 44 proceed_question();