Skip to content

Commit

Permalink
criu: hardcode to libcriu version 2
Browse files Browse the repository at this point in the history
Closes: #1080

Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Nov 29, 2022
1 parent 3880f04 commit d389308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcrun/criu.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ load_wrapper (struct libcriu_wrapper_s **wrapper_out, libcrun_error_t *err)
{
cleanup_free struct libcriu_wrapper_s *wrapper = xmalloc0 (sizeof (*wrapper));

wrapper->handle = dlopen ("libcriu.so", RTLD_NOW);
wrapper->handle = dlopen ("libcriu.so.2", RTLD_NOW);
if (wrapper->handle == NULL)
return crun_make_error (err, 0, "could not load `libcriu.so`");
return crun_make_error (err, 0, "could not load `libcriu.so.2`");

# define LOAD_CRIU_FUNCTION(X) \
do \
Expand Down

0 comments on commit d389308

Please sign in to comment.