From: Tomas Racek Date: Mon, 22 Apr 2013 03:48:58 +0000 (-0400) Subject: e2image: fix flag settings in e2image.h X-Git-Tag: v1.42.8~26 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8034d9fa0f9a06f5caeab431fe226423dc5dc7d9;p=tools%2Fe2fsprogs.git e2image: fix flag settings in e2image.h This prevents from SIGSEGV when -s options is used. Signed-off-by: Tomas Racek Signed-off-by: "Theodore Ts'o" Reviewed-by: Lukas Czerner --- diff --git a/lib/ext2fs/e2image.h b/lib/ext2fs/e2image.h index c918529..5537980 100644 --- a/lib/ext2fs/e2image.h +++ b/lib/ext2fs/e2image.h @@ -19,7 +19,7 @@ /* Image flags */ #define E2IMAGE_INSTALL_FLAG 1 #define E2IMAGE_SCRAMBLE_FLAG 2 -#define E2IMAGE_IS_QCOW2_FLAG 3 +#define E2IMAGE_IS_QCOW2_FLAG 4 struct ext2_image_hdr { __u32 magic_number; /* This must be EXT2_ET_MAGIC_E2IMAGE */