summaryrefslogtreecommitdiffstats
path: root/catman.c
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
commit8570d06222a4adf4bae9506c89bbc76dea96f962 (patch)
treecd7c780a04c3c9df9c2c5cfce54bc6919c5f3f78 /catman.c
parent34e1165534c6393d288e2ba6100a17f59739ebe3 (diff)
downloadmandoc-8570d06222a4adf4bae9506c89bbc76dea96f962.tar.gz
better error message if mandocd is not found
Diffstat (limited to 'catman.c')
-rw-r--r--catman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/catman.c b/catman.c
index b1fe9f13..2eaacdab 100644
--- a/catman.c
+++ b/catman.c
@@ -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