summaryrefslogtreecommitdiff
path: root/src/test/test-dissect-image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test-dissect-image.c')
-rw-r--r--src/test/test-dissect-image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-dissect-image.c b/src/test/test-dissect-image.c
index 0512a15e88..2bb68be0db 100644
--- a/src/test/test-dissect-image.c
+++ b/src/test/test-dissect-image.c
@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
return EXIT_FAILURE;
}
- r = dissect_image(d->fd, NULL, 0, &m);
+ r = dissect_image(d->fd, NULL, 0, DISSECT_IMAGE_REQUIRE_ROOT, &m);
if (r < 0) {
log_error_errno(r, "Failed to dissect image: %m");
return EXIT_FAILURE;