aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/mlib_setprogname.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/errors/mlib_setprogname.c')
-rw-r--r--lib/errors/mlib_setprogname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/errors/mlib_setprogname.c b/lib/errors/mlib_setprogname.c
index bfc77b0..415ed64 100644
--- a/lib/errors/mlib_setprogname.c
+++ b/lib/errors/mlib_setprogname.c
@@ -2,11 +2,11 @@
#include "errors.h"
-const char *__mlib_errors_progname;
+const char *_mlib_errors_progname;
void
mlib_setprogname(const char *s)
{
const char *p = strrchr(s, '/');
- __mlib_errors_progname = p ? p + 1 : s;
+ _mlib_errors_progname = p ? p + 1 : s;
}