diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-12-09 18:39:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-12-20 20:00:09 +0100 |
commit | 9b6deb03fcb358d6987ce86fcad08e2e290ee5d0 (patch) | |
tree | 04585a62a61a27df1de280a8aecef2ef485eb25d /src/test/test-dissect-image.c | |
parent | 6f4e2f97d738e720ae843cef67cf83e350aa7667 (diff) |
dissect: optionally, only look for GPT partition tables, nothing else
This is useful for reusing the dissector logic in the gpt-auto-discovery logic:
there we really don't want to use MBR or naked file systems as root device.
Diffstat (limited to 'src/test/test-dissect-image.c')
-rw-r--r-- | src/test/test-dissect-image.c | 2 |
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..ddaf3a0d8b 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, 0, &m); if (r < 0) { log_error_errno(r, "Failed to dissect image: %m"); return EXIT_FAILURE; |