summaryrefslogtreecommitdiffstats
path: root/main/util-linux/program-invocation.patch
blob: c81f97e36a8982aec814f88fe5185718cde98ced (plain)
1
2
3
4
5
6
7
8
9
10
11
--- util-linux-2.19.1.orig/include/c.h
+++ util-linux-2.19.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>