Use strerror(errno) instead of %m
Found by Fujii Masao
This commit is contained in:
parent
1e57c2c5b2
commit
92135ea0ed
@ -366,7 +366,8 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline, char *sysi
|
|||||||
}
|
}
|
||||||
else if (r < 0)
|
else if (r < 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr, _("%s: select() failed: %m\n"), progname);
|
fprintf(stderr, _("%s: select() failed: %s\n"),
|
||||||
|
progname, strerror(errno));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
/* Else there is actually data on the socket */
|
/* Else there is actually data on the socket */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user