Commit Diff


commit - a486b62b84f47c216ce7fd12eaacf6cc2acfaf74
commit + 932dbee786f1c1497e07a16ada6e3dbb755fdd08
blob - 97229123f0a5c6b797ce37122fe5960b948d80cc
blob + 61891c554c130e0e597d44f689d9d93fec69b64d
--- lib/privsep.c
+++ lib/privsep.c
@@ -77,7 +77,7 @@ poll_fd(int fd, int events, int timeout)
 
 	n = ppoll(pfd, 1, timeout == INFTIM ? NULL : &ts, &sigset);
 	if (n == -1)
-		return got_error_from_errno("poll");
+		return got_error_from_errno("ppoll");
 	if (n == 0)
 		return got_error(GOT_ERR_TIMEOUT);
 	if (pfd[0].revents & (POLLERR | POLLNVAL))