summaryrefslogtreecommitdiff
path: root/kexec/kexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r--kexec/kexec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/kexec.c b/kexec/kexec.c
index 313d9fe..29fa5fa 100644
--- a/kexec/kexec.c
+++ b/kexec/kexec.c
@@ -20,6 +20,7 @@
*/
#define _GNU_SOURCE
+#include <inttypes.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
@@ -1235,7 +1236,7 @@ static void print_crashkernel_region_size(void)
return;
}
- printf("%lu\n", (start != end) ? (end - start + 1) : 0UL);
+ printf("%" PRIu64 "\n", (start != end) ? (end - start + 1) : 0UL);
}
int main(int argc, char *argv[])