]> git.cameronkatri.com Git - mandoc.git/commitdiff
better error message if mandocd is not found
authorIngo Schwarze <schwarze@openbsd.org>
Fri, 15 Oct 2021 15:04:02 +0000 (15:04 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Fri, 15 Oct 2021 15:04:02 +0000 (15:04 +0000)
catman.c

index b1bab0f68c4b90e68f9f58bbf7cff465040217b0..e46613eb0e8c39ce64604ddfc11aff1d8cbedcd6 100644 (file)
--- a/catman.c
+++ b/catman.c
@@ -1,4 +1,4 @@
-/*     $Id: catman.c,v 1.22 2020/06/14 23:40:31 schwarze Exp $ */
+/*     $Id: catman.c,v 1.23 2021/10/15 15:04:02 schwarze Exp $ */
 /*
  * Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>
  * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -62,7 +62,7 @@ run_mandocd(int sockfd, const char *outtype, const char* defos)
        else
                execlp("mandocd", "mandocd", "-T", outtype,
                    "-I", defos, sockfdstr, (char *)NULL);
-       err(1, "exec");
+       err(1, "exec(mandocd)");
 }
 
 ssize_t