Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx> --- misc/e2image.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/misc/e2image.c b/misc/e2image.c index 4313cc0..e10554e 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -579,8 +579,11 @@ static void install_image(char *device, char *image_fn, int raw_flag) exit(1); } - +#ifdef HAVE_OPEN64 + fd = open64(image_fn, O_RDONLY); +#else fd = open(image_fn, O_RDONLY); +#endif if (fd < 0) { perror(image_fn); exit(1); -- 1.5.4.1.144.gdfee-dirty -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html