2019-09-18 15:26:16 +02:00
|
|
|
diff -uNr elfutils-0.177/lib/color.c elfutils-0.177.mod/lib/color.c
|
|
|
|
--- elfutils-0.177/lib/color.c 2019-08-14 13:12:33.000000000 +0300
|
|
|
|
+++ elfutils-0.177.mod/lib/color.c 2019-09-18 16:23:09.802519067 +0300
|
2018-09-22 21:27:43 +02:00
|
|
|
@@ -40,6 +40,8 @@
|
|
|
|
#include "libeu.h"
|
|
|
|
#include "color.h"
|
|
|
|
|
|
|
|
+extern char* __progname;
|
|
|
|
+
|
|
|
|
/* Prototype for option handler. */
|
|
|
|
static error_t parse_opt (int key, char *arg, struct argp_state *state);
|
|
|
|
|
|
|
|
@@ -130,9 +132,9 @@
|
|
|
|
- 'always', 'yes', 'force'\n\
|
|
|
|
- 'never', 'no', 'none'\n\
|
|
|
|
- 'auto', 'tty', 'if-tty'\n"),
|
|
|
|
- program_invocation_short_name, arg);
|
|
|
|
+ __progname, arg);
|
|
|
|
argp_help (&color_argp, stderr, ARGP_HELP_SEE,
|
2019-09-18 15:26:16 +02:00
|
|
|
- (char *) program_invocation_short_name);
|
2018-09-22 21:27:43 +02:00
|
|
|
+ __progname);
|
|
|
|
exit (EXIT_FAILURE);
|
|
|
|
}
|
|
|
|
}
|