Commit 92135ea0 authored by Magnus Hagander's avatar Magnus Hagander

Use strerror(errno) instead of %m

Found by Fujii Masao
parent 1e57c2c5
......@@ -366,7 +366,8 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline, char *sysi
}
else if (r < 0)
{
fprintf(stderr, _("%s: select() failed: %m\n"), progname);
fprintf(stderr, _("%s: select() failed: %s\n"),
progname, strerror(errno));
return false;
}
/* Else there is actually data on the socket */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment