Commit 4d428e23 authored by Shawn Webb's avatar Shawn Webb
Browse files

Remove comment and manually set zerrata


Signed-off-by: Shawn Webb's avatarShawn Webb <shawn.webb@hardenedbsd.org>
parent 23066d5a
......@@ -47,7 +47,6 @@ lattzfs_ctx_new(const char *pool, uint64_t flags)
lattzfs_ctx_t *ctx;
if (pool == NULL) {
/* No flags are supported, yet */
return (NULL);
}
......@@ -118,6 +117,7 @@ lattzfs_zpool_get_status(lattzfs_ctx_t *ctx, lattzfs_zpool_status_t *status,
}
msgid = NULL;
zerrata = 0;
zstatus = zpool_get_status(ctx->lc_pool_handle, &msgid, &zerrata);
*errata = (lattzfs_zpool_errata_t)zerrata;
......
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