From patchwork Thu Jun 16 20:29:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1986 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D4B5523E54 for ; Thu, 16 Jun 2011 20:31:43 +0000 (UTC) Received: from mail-vw0-f50.google.com (mail-vw0-f50.google.com [209.85.212.50]) by fiordland.canonical.com (Postfix) with ESMTP id 9F17AA18585 for ; Thu, 16 Jun 2011 20:31:43 +0000 (UTC) Received: by vws14 with SMTP id 14so1756035vws.37 for ; Thu, 16 Jun 2011 13:31:43 -0700 (PDT) Received: by 10.52.175.197 with SMTP id cc5mr1863123vdc.287.1308256302924; Thu, 16 Jun 2011 13:31:42 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs211199vdc; Thu, 16 Jun 2011 13:31:42 -0700 (PDT) Received: by 10.227.55.146 with SMTP id u18mr919730wbg.25.1308256300850; Thu, 16 Jun 2011 13:31:40 -0700 (PDT) Received: from smtp.smtpout.orange.fr (smtp08.smtpout.orange.fr [80.12.242.130]) by mx.google.com with ESMTP id fl7si1321081wbb.144.2011.06.16.13.31.40; Thu, 16 Jun 2011 13:31:40 -0700 (PDT) Received-SPF: neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=80.12.242.130; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.130 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: from monster.dhcp.lxc ([92.134.76.78]) by mwinf5d16 with ME id wkXf1g0031hMfSL03kXfJJ; Thu, 16 Jun 2011 22:31:40 +0200 From: Daniel Lezcano To: patches@linaro.org Subject: [PATCH 02/28] nit : fix output hexadecimal format Date: Thu, 16 Jun 2011 22:29:31 +0200 Message-Id: <1308256197-29155-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> References: <1308256197-29155-1-git-send-email-daniel.lezcano@linaro.org> Signed-off-by: Daniel Lezcano --- clocks.c | 2 +- 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);