diff options
author | Toomas Soome <[email protected]> | 2021-05-25 20:33:18 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-05-25 11:33:18 -0600 |
commit | 1a1302f8c4727b90ac83a3d3bcf995fa0516a11b (patch) | |
tree | 040973ddee107535b2f720577b28d74496833625 | |
parent | 0989d798fa347b87a34607d1fd7b94a1121cf2ad (diff) |
zdb: dump_history needs space
One space is missing from zdb -h output causing strings to be concatenated. (fixing #11940)
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Toomas Soome <[email protected]>
Closes #12098
-rw-r--r-- | cmd/zdb/zdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
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( |