diff options
-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 3194fd082..969c8f1b7 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -1939,7 +1939,7 @@ dump_bookmarks(objset_t *os, int verbosity) char osname[ZFS_MAX_DATASET_NAME_LEN]; char buf[ZFS_MAX_DATASET_NAME_LEN]; dmu_objset_name(os, osname); - VERIFY0(snprintf(buf, sizeof (buf), "%s#%s", osname, + VERIFY3S(0, <=, snprintf(buf, sizeof (buf), "%s#%s", osname, attr.za_name)); (void) dump_bookmark(dp, buf, verbosity >= 5, verbosity >= 6); } |