* mdocml: Improve the error message in case somebody has configured an
@ 2015-04-29 11:04 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2015-04-29 11:04 UTC (permalink / raw)
To: source
Log Message:
-----------
Improve the error message in case somebody has configured an invalid PAGER.
Suggested by Lorenzo Beretta <lory dot fulgi at infinito dot it>.
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-29 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 11:04 mdocml: Improve the error message in case somebody has configured an schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).