[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <567BE729.7030800@users.sourceforge.net>
Date: Thu, 24 Dec 2015 13:38:01 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-doc@...r.kernel.org, Jonathan Corbet <corbet@....net>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH 3/3] Documentation-getdelays: Less function calls in usage()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Thu, 24 Dec 2015 13:10:19 +0100
A single call of the fprintf() function is sufficient for the desired
display of the usage information.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
Documentation/accounting/getdelays.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index 9ca318d..1ad3de8 100644
--- a/Documentation/accounting/getdelays.c
+++ b/Documentation/accounting/getdelays.c
@@ -74,12 +74,12 @@ char cpumask[100+6*MAX_CPUS];
static void usage(void)
{
fprintf(stderr, "getdelays [-dilv] [-w logfile] [-r bufsize] "
- "[-m cpumask] [-t tgid] [-p pid]\n");
- fprintf(stderr, " -d: print delayacct stats\n");
- fprintf(stderr, " -i: print IO accounting (works only with -p)\n");
- fprintf(stderr, " -l: listen forever\n");
- fprintf(stderr, " -v: debug on\n");
- fprintf(stderr, " -C: container path\n");
+ "[-m cpumask] [-t tgid] [-p pid]\n"
+ " -d: print delayacct stats\n"
+ " -i: print IO accounting (works only with -p)\n"
+ " -l: listen forever\n"
+ " -v: debug on\n"
+ " -C: container path\n");
}
/*
--
2.6.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists