From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 826a6932; for ; Wed, 29 Apr 2015 06:04:47 -0500 (EST) Date: Wed, 29 Apr 2015 06:04:47 -0500 (EST) Message-Id: <237158314459500601.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: Improve the error message in case somebody has configured an X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- Improve the error message in case somebody has configured an invalid PAGER. Suggested by Lorenzo Beretta . Modified Files: -------------- mdocml: main.c Revision Data ------------- Index: main.c =================================================================== RCS file: /home/cvs/mdocml/mdocml/main.c,v retrieving revision 1.237 retrieving revision 1.238 diff -Lmain.c -Lmain.c -u -p -r1.237 -r1.238 --- main.c +++ main.c @@ -1027,7 +1027,7 @@ spawn_pager(void) /* Hand over to the pager. */ execvp(argv[0], argv); - fprintf(stderr, "%s: exec: %s\n", - progname, strerror(errno)); + fprintf(stderr, "%s: exec %s: %s\n", + progname, argv[0], strerror(errno)); exit((int)MANDOCLEVEL_SYSERR); } -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv