Skip to content

Commit

Permalink
krun: fix use of uninitialized integer
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Sjölund <[email protected]>
  • Loading branch information
eriksjolund committed Dec 2, 2023
1 parent ab6fd3f commit d115be2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcrun/handlers/krun.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ libkrun_exec (void *cookie, libcrun_container_t *container, const char *pathname

ctx_id = krun_create_ctx ();
if (UNLIKELY (ctx_id < 0))
error (EXIT_FAILURE, -ret, "could not create krun context");
error (EXIT_FAILURE, 0, "could not create krun context");

if (kconf->sev)
{
Expand Down

0 comments on commit d115be2

Please sign in to comment.