summaryrefslogtreecommitdiff
path: root/misc/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/util.c')
-rw-r--r--misc/util.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/misc/util.c b/misc/util.c
index f3ee2bb9..babdcf9f 100644
--- a/misc/util.c
+++ b/misc/util.c
@@ -79,15 +79,9 @@ void proceed_question(void)
void check_plausibility(const char *device)
{
int val;
-#ifdef HAVE_OPEN64
- struct stat64 s;
+ ext2fs_struct_stat s;
- val = stat64(device, &s);
-#else
- struct stat s;
-
- val = stat(device, &s);
-#endif
+ val = ext2fs_stat(device, &s);
if(val == -1) {
fprintf(stderr, _("Could not stat %s --- %s\n"),