From: Sami Kerola Date: Thu, 15 Mar 2012 21:58:09 +0000 (+0100) Subject: findfs: add --version & align with howto-usage-function.txt X-Git-Tag: v2.22-rc1~596 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efe030d66c1c8a892bec165e2d181ef157117f11;p=thirdparty%2Futil-linux.git findfs: add --version & align with howto-usage-function.txt Signed-off-by: Sami Kerola --- diff --git a/misc-utils/findfs.c b/misc-utils/findfs.c index 04651b3a5d..761c6e91fa 100644 --- a/misc-utils/findfs.c +++ b/misc-utils/findfs.c @@ -16,12 +16,15 @@ static void __attribute__((__noreturn__)) usage(int rc) { - const char *p = program_invocation_short_name; - - if (!p) - p = "findfs"; - - fprintf(stderr, _("Usage: %s LABEL=