Commit a0964498 authored by Shawn Webb's avatar Shawn Webb
Browse files

Test lazy mode


Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent 7b6d8a52
......@@ -17,7 +17,7 @@ main(int argc, char *argv[])
return (1);
}
ctx = lattzfs_ctx_new(argv[1], 0);
ctx = lattzfs_ctx_new(argv[1], LATTZFS_FLAG_LAZY_OPEN);
if (ctx == NULL) {
printf("ctx null\n");
return (1);
......@@ -34,5 +34,7 @@ main(int argc, char *argv[])
printf("Status: %d\n", status);
printf("Errata: 0x%016lx\n", (uint64_t)errata);
lattzfs_ctx_free(&ctx);
return (0);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment