summaryrefslogtreecommitdiff
path: root/system/e2fsprogs/time64.patch
blob: 043b7edd8c19508ded315517bcff1a5171730f85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- e2fsprogs-1.45.5/e2fsck/unix.c.old	2020-01-06 23:10:17.000000000 +0000
+++ e2fsprogs-1.45.5/e2fsck/unix.c	2020-01-31 13:04:00.316309301 +0000
@@ -45,6 +45,7 @@
 #ifdef HAVE_DIRENT_H
 #include <dirent.h>
 #endif
+#include <inttypes.h>
 #include <libgen.h>
 
 #include "e2p/e2p.h"
@@ -1438,7 +1439,7 @@
 
 		fputs("<?xml version=\"1.0\" encoding=\"utf-8\"?>\n",
 		      ctx->problem_logf);
-		fprintf(ctx->problem_logf, "<problem_log time=\"%lu\">\n",
+		fprintf(ctx->problem_logf, "<problem_log time=\"%"PRIu64"\">\n",
 			ctx->now);
 		fprintf(ctx->problem_logf, "<invocation prog=\"%s\"",
 			argv[0]);