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

Commitdaca207

Browse files
knizhnikgsmolk
authored andcommitted
Report ssh error if available
1 parent6a721aa commitdaca207

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/utils/file.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ void fio_error(int rc, int size, char const* file, int line)
5858
charbuf[PRINTF_BUF_SIZE];
5959
interr_size=read(fio_stderr,buf,sizeof(buf));
6060
if (err_size>0)
61-
elog(LOG,"Agent error: %s",buf);
62-
elog(ERROR,"Communication error: %s",rc >=0 ?"end of data" :strerror(errno));
61+
elog(ERROR,"Agent error: %s",buf);
62+
else
63+
elog(ERROR,"Communication error: %s",rc >=0 ?"end of data" :strerror(errno));
6364
}
6465
}
6566

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp