--- a/repmgr/repmgr_net.c
|
|
+++ b/repmgr/repmgr_net.c
|
|
@@ -1136,7 +1136,7 @@ __repmgr_listen(env)
|
|
}
|
|
|
|
ret = net_errno;
|
|
- __db_err(env, ret, why);
|
|
+ __db_err(env, ret, "%s", why);
|
|
clean: if (s != INVALID_SOCKET)
|
|
(void)closesocket(s);
|
|
return (ret);
|