Skip to content

Commit

Permalink
[tests] Fix error message in fcntl_lock test
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Ma <liang3.ma@intel.com>
  • Loading branch information
billionairiam authored and dimakuv committed Mar 21, 2023
1 parent 76ff4f0 commit 43101b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libos/test/regression/fcntl_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ static void test_file_close(void) {

int fd2 = dup(g_fd);
if (fd2 < 0)
err(1, "fopen");
err(1, "dup");

if (close(fd2) < 0)
err(1, "close");
Expand Down

0 comments on commit 43101b8

Please sign in to comment.