From: Theodore Ts'o Date: Thu, 2 May 2024 03:02:31 +0000 (-0400) Subject: e2image: fix typo which causes a compile failure on i386 X-Git-Tag: v1.47.1-wc1~130 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=66b0b3c1fc6262605d38f443641cdb9ab09d14e2;p=tools%2Fe2fsprogs.git 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 --- 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); }