summaryrefslogtreecommitdiff
path: root/e2fsprogs/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/util.c')
-rw-r--r--e2fsprogs/util.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c
index efb128f..aaee50a 100644
--- a/e2fsprogs/util.c
+++ b/e2fsprogs/util.c
@@ -33,13 +33,8 @@ void proceed_question(void)
void check_plausibility(const char *device, int force)
{
int val;
-#ifdef CONFIG_LFS
- struct stat64 s;
- val = stat64(device, &s);
-#else
- struct stat s;
- val = stat(device, &s);
-#endif
+ STRUCT_STAT s;
+ val = STAT(device, &s);
if (force)
return;
if(val == -1)