From 66b0b3c1fc6262605d38f443641cdb9ab09d14e2 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 1 May 2024 23:02:31 -0400 Subject: [PATCH] e2image: fix typo which causes a compile failure on i386 Fixes: 80abfebc673b ("e2image: add support for post-2038 dates...") Signed-off-by: Theodore Ts'o --- misc/e2image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/e2image.c b/misc/e2image.c index 2c46d3f..a926724 100644 --- a/misc/e2image.c +++ b/misc/e2image.c @@ -297,7 +297,7 @@ static void write_image_file(ext2_filsys fs, int fd) #if (SIZEOF_TIME_T > 4) hdr.image_time_hi = ext2fs_cpu_to_le32(now >> 32); #else - hdr_image_time_hi = 0; + hdr.image_time_hi = 0; #endif write_header(fd, &hdr, sizeof(struct ext2_image_hdr), fs->blocksize); } -- 1.8.3.1