summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ao_log.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ao_log.c b/src/ao_log.c
index 47f24f01..f319834a 100644
--- a/src/ao_log.c
+++ b/src/ao_log.c
@@ -328,8 +328,10 @@ ao_log_list(void) __reentrant
{
flight = ao_log_flight(slot);
if (flight)
- printf ("flight %d start %ld end %ld\n",
- flight, ao_log_pos(slot), ao_log_pos(slot+1));
+ printf ("flight %d start %x end %x\n",
+ flight,
+ (uint16_t) (ao_log_pos(slot) >> 8),
+ (uint16_t) (ao_log_pos(slot+1) >> 8));
}
printf ("done\n");
}