From: Ken'ichi Ohmichi Date: Tue, 30 Jun 2009 00:24:29 +0000 (+0900) Subject: Fix too many program name in the usage message of "cgset" command. X-Git-Tag: v0.34~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0992aa5920177af702198348de0db32291fcb8c;p=thirdparty%2Flibcgroup.git Fix too many program name in the usage message of "cgset" command. Hi, If compiling the latest code (8cc1d9743201cb9ae9a5286c898b9d47e318ed46), the following warning messages are printed. $ make [snip] cgset.c: In function 'usage': cgset.c:123: warning: too many arguments for format [snip] $ This patch fixes too many program name in the usage message of "cgset" command. Thanks Ken'ichi Ohmichi Signed-off-by: Ken'ichi Ohmichi Signed-off-by: Dhaval Giani --- diff --git a/src/tools/cgset.c b/src/tools/cgset.c index 5018d108..b9a7901f 100644 --- a/src/tools/cgset.c +++ b/src/tools/cgset.c @@ -120,7 +120,7 @@ void usage(int status, char *program_name) printf("Usage: %s [-r ] ...\n" " or: %s --copy-from " " ...\n", - program_name, program_name, program_name); + program_name, program_name); } }