Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92135ea

Browse files
committed
Use strerror(errno) instead of %m
Found by Fujii Masao
1 parent1e57c2c commit92135ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/pg_basebackup/receivelog.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,8 @@ ReceiveXlogStream(PGconn *conn, XLogRecPtr startpos, uint32 timeline, char *sysi
366366
}
367367
elseif (r<0)
368368
{
369-
fprintf(stderr,_("%s: select() failed: %m\n"),progname);
369+
fprintf(stderr,_("%s: select() failed: %s\n"),
370+
progname,strerror(errno));
370371
return false;
371372
}
372373
/* Else there is actually data on the socket */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp