Commit Diff


commit - fd8decfcec52d58463ceffa5d5298bb49f6b13b2
commit + 15fbb79b06dceefaebabb71fcd744fe8d47c6a9e
blob - 15d340744327d39e2984f932745f65236f95f010
blob + 8f7135ea7cd76db65c82d0b130b297e813130fb0
--- gotd/imsg.c
+++ gotd/imsg.c
@@ -68,7 +68,7 @@ gotd_imsg_flush(struct imsgbuf *ibuf)
 			break;
 
 		if (imsgbuf_write(ibuf) == -1) {
-			err = got_error_from_errno("imsgbuf_flush");
+			err = got_error_from_errno("imsgbuf_write");
 			break;
 		}
 	}