aboutsummaryrefslogtreecommitdiff
path: root/lib/errors/vwarnx.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/errors/vwarnx.c')
-rw-r--r--lib/errors/vwarnx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/errors/vwarnx.c b/lib/errors/vwarnx.c
index 72d8fa7..58a7bc6 100644
--- a/lib/errors/vwarnx.c
+++ b/lib/errors/vwarnx.c
@@ -6,7 +6,7 @@
void
vwarnx(const char *fmt, va_list ap)
{
- fprintf(stderr, "%s: ", progname());
+ fprintf(stderr, "%s: ", mlib_progname());
vfprintf(stderr, fmt, ap);
fputc('\n', stderr);
}