summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 64100318..00cdfb76 100644
--- a/main.c
+++ b/main.c
@@ -408,7 +408,8 @@ mmsg(enum mandocerr t, enum mandoclevel lvl,
const char *file, int line, int col, const char *msg)
{
- fprintf(stderr, "%s:%d:%d: %s: %s", file, line, col + 1,
+ fprintf(stderr, "%s: %s:%d:%d: %s: %s", progname,
+ file, line, col + 1,
mparse_strlevel(lvl), mparse_strerror(t));
if (msg)