Skip to content

Commit

Permalink
test/reg-fd-only: dump 'ret' if ring setup fails unexpectedly
Browse files Browse the repository at this point in the history
Link: #1207
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
axboe committed Aug 19, 2024
1 parent c0f7165 commit ebd6c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/reg-fd-only.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ static int test(int nentries)
fprintf(stdout, "Enable huge pages to test big rings\n");
return T_EXIT_SKIP;
} else if (ret) {
fprintf(stderr, "ring setup failed\n");
fprintf(stderr, "ring setup failed: %d\n", ret);
return T_EXIT_FAIL;
}

Expand Down

0 comments on commit ebd6c8f

Please sign in to comment.