@@ -415,7 +415,7 @@ libcrun_container_checkpoint_linux_criu (libcrun_container_status_t *status, lib
415
415
cleanup_wrapper struct libcriu_wrapper_s * wrapper = NULL ;
416
416
cleanup_free char * descriptors_path = NULL ;
417
417
cleanup_free char * freezer_path = NULL ;
418
- cleanup_free char * path = NULL ;
418
+ cleanup_free char * rootfs = NULL ;
419
419
cleanup_close int image_fd = -1 ;
420
420
cleanup_close int work_fd = -1 ;
421
421
int cgroup_mode ;
@@ -554,13 +554,13 @@ libcrun_container_checkpoint_linux_criu (libcrun_container_status_t *status, lib
554
554
if (UNLIKELY (ret < 0 ))
555
555
return crun_error_wrap (err , "error saving CRIU descriptors file" );
556
556
557
- ret = append_paths (& path , err , status -> bundle , status -> rootfs , NULL );
557
+ ret = append_paths (& rootfs , err , status -> bundle , status -> rootfs , NULL );
558
558
if (UNLIKELY (ret < 0 ))
559
559
return ret ;
560
560
561
- ret = libcriu_wrapper -> criu_set_root (path );
561
+ ret = libcriu_wrapper -> criu_set_root (rootfs );
562
562
if (UNLIKELY (ret != 0 ))
563
- return crun_make_error (err , 0 , "error setting CRIU root to `%s`" , path );
563
+ return crun_make_error (err , 0 , "error setting CRIU root to `%s`" , rootfs );
564
564
565
565
cgroup_mode = libcrun_get_cgroup_mode (err );
566
566
if (UNLIKELY (cgroup_mode < 0 ))
0 commit comments