Skip to content

Commit

Permalink
Invoke zdb by guid to avoid import errors
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Dagnelie <[email protected]>
  • Loading branch information
pcd1193182 committed Sep 19, 2023
1 parent 8af8d2a commit ac4fb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/ztest.c
Original file line number Diff line number Diff line change
Expand Up @@ -6941,13 +6941,13 @@ ztest_run_zdb(const char *pool)
free(set_gvars_args);

size_t would = snprintf(zdb, len,
"%s -bcc%s%s -G -d -Y -e -y %s -p %s %s",
"%s -bcc%s%s -G -d -Y -e -y %s -p %s %"PRIu64,
bin,
ztest_opts.zo_verbose >= 3 ? "s" : "",
ztest_opts.zo_verbose >= 4 ? "v" : "",
set_gvars_args_joined,
ztest_opts.zo_dir,
pool);
guid);
ASSERT3U(would, <, len);

umem_free(set_gvars_args_joined, strlen(set_gvars_args_joined) + 1);
Expand Down

0 comments on commit ac4fb88

Please sign in to comment.