summaryrefslogtreecommitdiff
path: root/lib/display_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/display_options.c')
-rw-r--r--lib/display_options.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/display_options.c b/lib/display_options.c
index f1c930463e..32849821f4 100644
--- a/lib/display_options.c
+++ b/lib/display_options.c
@@ -7,7 +7,6 @@
#include <common.h>
#include <console.h>
#include <div64.h>
-#include <inttypes.h>
#include <version.h>
#include <linux/ctype.h>
#include <asm/io.h>
@@ -65,7 +64,7 @@ void print_freq(uint64_t freq, const char *s)
}
if (!c) {
- printf("%" PRIu64 " Hz%s", freq, s);
+ printf("%llu Hz%s", freq, s);
return;
}
@@ -105,7 +104,7 @@ void print_size(uint64_t size, const char *s)
}
if (!c) {
- printf("%" PRIu64 " Bytes%s", size, s);
+ printf("%llu Bytes%s", size, s);
return;
}