aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2024-05-01 23:02:31 -0400
committerTheodore Ts'o <tytso@mit.edu>2024-05-01 23:02:31 -0400
commit66b0b3c1fc6262605d38f443641cdb9ab09d14e2 (patch)
tree37384d00e9d6992bd11d8ea6d3616b5c20becbb6
parent79677f9aaa8618560798228e99099fd59b22ad3b (diff)
downloade2fsprogs-66b0b3c1fc6262605d38f443641cdb9ab09d14e2.tar.gz
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 <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 2c46d3ff8..a92672464 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);
}