diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.173 2014/04/20 16:46:04 schwarze Exp $ */ +/* $Id: main.c,v 1.174 2014/06/20 16:11:42 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -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) |