Skip to content
Snippets Groups Projects
Commit 92135ea0 authored by Magnus Hagander's avatar Magnus Hagander
Browse files

Use strerror(errno) instead of %m

Found by Fujii Masao
parent 1e57c2c5
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment