From 8034d9fa0f9a06f5caeab431fe226423dc5dc7d9 Mon Sep 17 00:00:00 2001 From: Tomas Racek Date: Sun, 21 Apr 2013 23:48:58 -0400 Subject: [PATCH] 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 --- lib/ext2fs/e2image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 1.8.3.1