tweak imsg-related error messages
diff --git a/include/got_error.h b/include/got_error.h
index d559f4d..8a462cd 100644
--- a/include/got_error.h
+++ b/include/got_error.h
@@ -97,11 +97,10 @@ static const struct got_error {
{ GOT_ERR_RECURSION, "recursion limit reached" },
{ GOT_ERR_TIMEOUT, "operation timed out" },
{ GOT_ERR_INTERRUPT, "operation interrupted" },
- { GOT_ERR_PRIVSEP_READ, "no data received from unprivileged process" },
- { GOT_ERR_PRIVSEP_LEN, "unexpected amount of data received "
- "from unprivileged process" },
- { GOT_ERR_PRIVSEP_PIPE, "unprivileged process closed pipe" },
- { GOT_ERR_PRIVSEP_NO_FD,"out of file descriptors for privsep" },
+ { GOT_ERR_PRIVSEP_READ, "no data received in imsg" },
+ { GOT_ERR_PRIVSEP_LEN, "unexpected amount of data received in imsg" },
+ { GOT_ERR_PRIVSEP_PIPE, "privsep peer process closed pipe" },
+ { GOT_ERR_PRIVSEP_NO_FD,"privsep file descriptor unavailable" },
{ GOT_ERR_PRIVSEP_MSG, "unexpected message from unprivileged process" },
{ GOT_ERR_PRIVSEP_DIED, "unprivileged process died unexpectedly" },
{ GOT_ERR_PRIVSEP_EXIT, "bad exit code from unprivileged process" },