[02/28] nit : fix output hexadecimal format

Message ID 1308256197-29155-2-git-send-email-daniel.lezcano@linaro.org
State Accepted
Headers show

Commit Message

Daniel Lezcano June 16, 2011, 8:29 p.m.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
---
 clocks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

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);