Fix sshbuf_new error path in skey.
diff --git a/monitor_wrap.c b/monitor_wrap.c
index cb1c999..ad4e8dc 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -890,7 +890,7 @@
debug3("%s: entering", __func__);
if ((m = sshbuf_new()) == NULL)
- fatal("%s: buffer error: %s", __func__, ssh_err(r));
+ fatal("%s: sshbuf_new failed", __func__);
mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYQUERY, m);
mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_SKEYQUERY, m);
@@ -928,7 +928,7 @@
return (-1);
if ((m = sshbuf_new()) == NULL)
- fatal("%s: buffer error: %s", __func__, ssh_err(r));
+ fatal("%s: sshbuf_new failed", __func__);
if ((r = sshbuf_put_cstring(m, responses[0])) != 0)
fatal("%s: buffer error: %s", __func__, ssh_err(r));
mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_SKEYRESPOND, m);