aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2011-05-24 15:27:49 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2011-05-24 15:27:49 +0200
commit4b6690736b5d6efe367299df67d2e9b1741e78cf (patch)
treef54269f1fd9e336ca8baf31bdfff4f4c14f8e850
parent00af33efcffc0a52a902d0e181343532f350129d (diff)
downloadpowerdebug-4b6690736b5d6efe367299df67d2e9b1741e78cf.tar.gz
nit : fix output hexadecimal format
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r--clocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clocks.c b/clocks.c
index b556644..3a93421 100644
--- a/clocks.c
+++ b/clocks.c
@@ -311,7 +311,7 @@ static void add_clock_details_recur(struct clock_info *clock,
sprintf(rate_str, "%.2f %s", drate, unit);
prepare_name_str(name_str, clock);
- sprintf(clock_lines[clock_line_no++], "%-55s %-4d %-12s %-12d %-12d",
+ sprintf(clock_lines[clock_line_no++], "%-55s 0x%-4x %-12s %-12d %-12d",
name_str, clock->flags, rate_str, clock->usecount,
clock->num_children);