diff options
Diffstat (limited to 'lib/progname.c')
-rw-r--r-- | lib/progname.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/progname.c b/lib/progname.c index 2e82ac9ed6..a5e5eaf885 100644 --- a/lib/progname.c +++ b/lib/progname.c @@ -52,7 +52,7 @@ set_program_name (const char *argv0) { /* It's a bug in the invoking program. Help diagnosing it. */ fputs ("A NULL argv[0] was passed through an exec system call.\n", - stderr); + stderr); abort (); } @@ -62,14 +62,14 @@ set_program_name (const char *argv0) { argv0 = base; if (strncmp (base, "lt-", 3) == 0) - { - argv0 = base + 3; - /* On glibc systems, remove the "lt-" prefix from the variable - program_invocation_short_name. */ + { + argv0 = base + 3; + /* On glibc systems, remove the "lt-" prefix from the variable + program_invocation_short_name. */ #if HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME - program_invocation_short_name = (char *) argv0; + program_invocation_short_name = (char *) argv0; #endif - } + } } /* But don't strip off a leading <dirname>/ in general, because when the user |