diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-10-15 15:04:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-10-15 15:04:02 +0000 |
commit | 5a924a1a48fa00e58c87fec9f0e6f8257855bcc0 (patch) | |
tree | 87d116b64138c66eae9efcb9dbcb0718e979f6af | |
parent | a7c25043d00f4e0cf67030e75e84d041257befe1 (diff) | |
download | mandoc-5a924a1a48fa00e58c87fec9f0e6f8257855bcc0.tar.gz mandoc-5a924a1a48fa00e58c87fec9f0e6f8257855bcc0.tar.zst mandoc-5a924a1a48fa00e58c87fec9f0e6f8257855bcc0.zip |
better error message if mandocd is not found
-rw-r--r-- | catman.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |