aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-10-15 15:04:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-10-15 15:04:02 +0000
commit5a924a1a48fa00e58c87fec9f0e6f8257855bcc0 (patch)
tree87d116b64138c66eae9efcb9dbcb0718e979f6af
parenta7c25043d00f4e0cf67030e75e84d041257befe1 (diff)
downloadmandoc-5a924a1a48fa00e58c87fec9f0e6f8257855bcc0.tar.gz
mandoc-5a924a1a48fa00e58c87fec9f0e6f8257855bcc0.tar.zst
mandoc-5a924a1a48fa00e58c87fec9f0e6f8257855bcc0.zip
better error message if mandocd is not found
-rw-r--r--catman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catman.c b/catman.c
index b1bab0f6..e46613eb 100644
--- 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