All of lore.kernel.org
 help / color / mirror / Atom feed
From: Maxim Uvarov <muvarov@ru.mvista.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: balbir@in.ibm.com
Cc: jlan@engr.sgi.com
Subject: [PATCH] Since we have counters in __u64 format we have to print them with %llu macros.
Date: Wed, 26 Sep 2007 17:52:09 +0000	[thread overview]
Message-ID: <20070926175209.7613.98135.stgit@localhost.localdomain> (raw)


Small fix for documentation.

Added (unsigned long long).

                                                      
---

 Documentation/accounting/getdelays.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index cbee3a2..056f024 100644
--- a/Documentation/accounting/getdelays.c
+++ b/Documentation/accounting/getdelays.c
@@ -208,9 +208,10 @@ void print_delayacct(struct taskstats *t)
 void task_context_switch_counts(struct taskstats *t)
 {
 	printf("\n\nTask   %15s%15s\n"
-	       "       %15lu%15lu\n",
+	       "       %15llu%15llu\n",
 	       "voluntary", "nonvoluntary",
-	       t->nvcsw, t->nivcsw);
+	       (unsigned long long)t->nvcsw,
+	       (unsigned long long)t->nivcsw);
 }
 
 void print_ioacct(struct taskstats *t)


             reply	other threads:[~2007-09-26 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 17:52 Maxim Uvarov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-09-26 14:39 [PATCH] Since we have counters in __u64 format we have to print them with %llu macros Maxim Uvarov
2007-09-26 11:32 ` Andreas Schwab
2007-09-26 11:48   ` Balbir Singh
2007-09-26 18:22     ` H. Peter Anvin
2007-09-27  8:19       ` Balbir Singh
2007-09-26 12:36 Mikael Pettersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070926175209.7613.98135.stgit@localhost.localdomain \
    --to=muvarov@ru.mvista.com \
    --cc=balbir@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.