From f51d5f816ffbea3eeda94dfe0f557f8d4968cf98 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Sun, 5 Jan 2020 01:33:14 +0000 Subject: [PATCH] Windows Pageant: fix missing printf parameter --- windows/winpgnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/winpgnt.c b/windows/winpgnt.c index 888ff261..dcc6bac6 100644 --- a/windows/winpgnt.c +++ b/windows/winpgnt.c @@ -1302,7 +1302,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) Socket *sock = new_named_pipe_listener(pipename, pl_plug); if (sk_socket_error(sock)) { char *err = dupprintf("Unable to open named pipe at %s " - "for SSH agent:\n", pipename, + "for SSH agent:\n%s", pipename, sk_socket_error(sock)); MessageBox(NULL, err, "Pageant Error", MB_ICONERROR | MB_OK); return 1;