From 1a1302f8c4727b90ac83a3d3bcf995fa0516a11b Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Tue, 25 May 2021 20:33:18 +0300 Subject: [PATCH] zdb: dump_history needs space One space is missing from zdb -h output causing strings to be concatenated. (fixing #11940) Reviewed-by: Brian Behlendorf Reviewed-by: John Kennedy Signed-off-by: Toomas Soome Closes #12098 --- cmd/zdb/zdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 3bc9b05e8..13c22907c 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -2133,7 +2133,7 @@ dump_history(spa_t *spa) ZPOOL_HIST_INT_NAME)); if (nvlist_exists(events[i], ZPOOL_HIST_DSNAME)) { - (void) printf("%s (%llu)", + (void) printf(" %s (%llu)", fnvlist_lookup_string(events[i], ZPOOL_HIST_DSNAME), (u_longlong_t)fnvlist_lookup_uint64(