From: Theodore Ts'o Date: Sun, 16 Jun 2013 00:52:08 +0000 (-0400) Subject: e2image: fix crash when using e2image -I with a 64-bit file system X-Git-Tag: v1.42.8~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7f983bfb27da3999ea91f9520ad1f438c3d59f2;p=thirdparty%2Fe2fsprogs.git e2image: fix crash when using e2image -I with a 64-bit file system Addresses-Debian-Bug: #703067 Signed-off-by: "Theodore Ts'o" --- diff --git a/misc/e2image.c b/misc/e2image.c index 369c9468c..885a79433 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -1171,7 +1171,7 @@ static void install_image(char *device, char *image_fn, int type) { errcode_t retval; ext2_filsys fs; - int open_flag = EXT2_FLAG_IMAGE_FILE; + int open_flag = EXT2_FLAG_IMAGE_FILE | EXT2_FLAG_64BITS; int fd = 0; io_manager io_ptr; io_channel io;