summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ide.h b/include/ide.h
index 695d08eecc..158e1beaf9 100644
--- a/include/ide.h
+++ b/include/ide.h
@@ -43,8 +43,10 @@ extern ulong ide_bus_offset[];
#ifdef CONFIG_SYS_64BIT_LBA
typedef uint64_t lbaint_t;
+#define LBAF "%llx"
#else
typedef ulong lbaint_t;
+#define LBAF "%lx"
#endif
/*
OpenPOWER on IntegriCloud