]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/dissect/dissect.c
service: add new RootImageOptions feature
[thirdparty/systemd.git] / src / dissect / dissect.c
index 66ac638401cf50d8c19fceda7073a37df7833d71..318cd37c6f264cf2d1ce89881ff4778d4468c57f 100644 (file)
@@ -244,7 +244,7 @@ static int run(int argc, char *argv[]) {
                 return log_error_errno(r, "Failed to read verity artefacts for %s: %m", arg_image);
         arg_flags |= arg_verity_data ? DISSECT_IMAGE_NO_PARTITION_TABLE : 0;
 
-        r = dissect_image_and_warn(d->fd, arg_image, arg_root_hash, arg_root_hash_size, arg_verity_data, arg_flags, &m);
+        r = dissect_image_and_warn(d->fd, arg_image, arg_root_hash, arg_root_hash_size, arg_verity_data, NULL, arg_flags, &m);
         if (r < 0)
                 return r;