Skip to content

Commit

Permalink
container: fix error after read
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Sjölund <[email protected]>
  • Loading branch information
eriksjolund committed Jan 29, 2025
1 parent 801d6e8 commit 28efebe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcrun/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ sync_socket_wait_sync (libcrun_context_t *context, int fd, bool flush, libcrun_e
if (flush)
return 0;

return crun_make_error (err, errno, "read from the init process");
return crun_make_error (err, 0, "read from the init process");
}

if (! flush && msg.type == SYNC_SOCKET_SYNC_MESSAGE)
Expand Down

0 comments on commit 28efebe

Please sign in to comment.