summaryrefslogtreecommitdiffstats
path: root/misc-utils/blkid.c
diff options
context:
space:
mode:
authorSami Kerola2013-04-13 21:54:30 +0200
committerKarel Zak2013-04-26 13:25:57 +0200
commitd0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd (patch)
treebb192b499c10c494d36865b31adc9537cf99e433 /misc-utils/blkid.c
parentbash-completion: add mount and umount (diff)
downloadkernel-qcow2-util-linux-d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd.tar.gz
kernel-qcow2-util-linux-d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd.tar.xz
kernel-qcow2-util-linux-d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd.zip
blkid, hwclock, ldattach: use program_invocation_short_name
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils/blkid.c')
-rw-r--r--misc-utils/blkid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
index ce712ac53..f4a9cf5a4 100644
--- a/misc-utils/blkid.c
+++ b/misc-utils/blkid.c
@@ -51,8 +51,6 @@ extern int optind;
#include "ttyutils.h"
#include "xalloc.h"
-const char *progname = "blkid";
-
int raw_chars;
static void print_version(FILE *out)
@@ -98,7 +96,7 @@ static void usage(int error)
" -O <offset> probe at the given offset\n"
" -u <list> filter by \"usage\" (e.g. -u filesystem,raid)\n"
" -n <list> filter by filesystem type (e.g. -n vfat,ext3)\n"
- "\n", progname);
+ "\n", program_invocation_short_name);
exit(error);
}