aboutsummaryrefslogtreecommitdiffstats
path: root/main/util-linux/program-invocation.patch
blob: e3c266e5b4287b5dcc750cdb4167008a543d6e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- util-linux-2.21.orig/include/c.h
+++ util-linux-2.21.1/include/c.h
@@ -115,7 +115,7 @@
 
 #ifndef HAVE_PROGRAM_INVOCATION_SHORT_NAME
 # ifdef HAVE___PROGNAME
-extern char *__progname;
+extern const char *__progname;
 #  define program_invocation_short_name __progname
 # else
 #  include <string.h>