From d0ed8dc2b99eb660b9e419d1c134ebc4ad0868bd Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 13 Apr 2013 20:54:30 +0100 Subject: blkid, hwclock, ldattach: use program_invocation_short_name Signed-off-by: Sami Kerola --- sys-utils/ldattach.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'sys-utils/ldattach.c') diff --git a/sys-utils/ldattach.c b/sys-utils/ldattach.c index c06aed204..5c460feef 100644 --- a/sys-utils/ldattach.c +++ b/sys-utils/ldattach.c @@ -42,7 +42,6 @@ # define TIOCSETD 0x5423 #endif -static const char *progname; static int debug = 0; struct ld_table { @@ -238,8 +237,6 @@ int main(int argc, char **argv) atexit(close_stdout); /* parse options */ - progname = program_invocation_short_name; - if (argc == 0) usage(EXIT_SUCCESS); while ((optc = -- cgit v1.2.3-55-g7522