Commit 4c838a52b058826b33b06295771b4cd1553100d1

Stefan Sperling 2018-12-23T22:58:50

fix message of GOT_ERR_PRIVSEP_MSG error

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/got_error.h b/include/got_error.h
index 143e83f..217a29f 100644
--- a/include/got_error.h
+++ b/include/got_error.h
@@ -104,7 +104,7 @@ static const struct got_error {
 	{ 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_MSG,	"received unexpected privsep message" },
 	{ GOT_ERR_PRIVSEP_DIED,	"unprivileged process died unexpectedly" },
 	{ GOT_ERR_PRIVSEP_EXIT,	"bad exit code from unprivileged process" },
 	{ GOT_ERR_PACK_OFFSET,	"bad offset in pack file" },