zdb: dump_history needs space
One space is missing from zdb -h output causing strings to be concatenated. (fixing #11940) Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Toomas Soome <tsoome@me.com> Closes #12098
This commit is contained in:
parent
0989d798fa
commit
1a1302f8c4
|
@ -2133,7 +2133,7 @@ dump_history(spa_t *spa)
|
||||||
ZPOOL_HIST_INT_NAME));
|
ZPOOL_HIST_INT_NAME));
|
||||||
|
|
||||||
if (nvlist_exists(events[i], ZPOOL_HIST_DSNAME)) {
|
if (nvlist_exists(events[i], ZPOOL_HIST_DSNAME)) {
|
||||||
(void) printf("%s (%llu)",
|
(void) printf(" %s (%llu)",
|
||||||
fnvlist_lookup_string(events[i],
|
fnvlist_lookup_string(events[i],
|
||||||
ZPOOL_HIST_DSNAME),
|
ZPOOL_HIST_DSNAME),
|
||||||
(u_longlong_t)fnvlist_lookup_uint64(
|
(u_longlong_t)fnvlist_lookup_uint64(
|
||||||
|
|
Loading…
Reference in New Issue