aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2013-06-15 20:52:08 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-06-15 20:52:08 -0400
commite7f983bfb27da3999ea91f9520ad1f438c3d59f2 (patch)
treee766fe0fc45e8e2222d2a2d7f4b3388eb4ddad86
parent2a83b3c3741bdc9a1b2af73114c778f4b21a9ab1 (diff)
downloade2fsprogs-e7f983bfb27da3999ea91f9520ad1f438c3d59f2.tar.gz
e2fsprogs-e7f983bfb27da3999ea91f9520ad1f438c3d59f2.tar.xz
e2fsprogs-e7f983bfb27da3999ea91f9520ad1f438c3d59f2.zip
e2image: fix crash when using e2image -I with a 64-bit file system
Addresses-Debian-Bug: #703067 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--misc/e2image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/e2image.c b/misc/e2image.c
index 369c9468..885a7943 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;