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

Commit5f840ba

Browse files
committed
Fix passing error in fio_send_pages
1 parenteb2a397 commit5f840ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/utils/file.c‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,8 +1150,7 @@ int fio_send_pages(FILE* in, FILE* out, pgFile *file,
11501150

11511151
if ((int)hdr.arg<0)/* read error */
11521152
{
1153-
errno=-(int)hdr.arg;
1154-
return-1;
1153+
return (int)hdr.arg;
11551154
}
11561155

11571156
blknum=hdr.arg;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp