diff options
Diffstat (limited to 'resize')
-rw-r--r-- | resize/main.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/resize/main.c b/resize/main.c index 28a49ba2..daa68c5b 100644 --- a/resize/main.c +++ b/resize/main.c @@ -256,11 +256,7 @@ int main (int argc, char ** argv) len = 2 * len; } -#ifdef HAVE_OPEN64 - fd = open64(device_name, O_RDWR); -#else - fd = open(device_name, O_RDWR); -#endif + fd = ext2fs_open_file(device_name, O_RDWR); if (fd < 0) { com_err("open", errno, _("while opening %s"), device_name); |