Skip to content
Permalink
Browse files

Silence gnu printf warning

    Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
  • Loading branch information...
mattmacy committed Jul 11, 2019
1 parent 774a635 commit 9b90d4dc2939264a12e7ebf49192a5e5247d3d9d
Showing with 2 additions and 2 deletions.
  1. +2 −2 module/zfs/dsl_dataset.c
@@ -1796,7 +1796,7 @@ dsl_dataset_snapshot_sync_impl(dsl_dataset_t *ds, const char *snapname,

dsl_dir_snap_cmtime_update(ds->ds_dir);

spa_history_log_internal_ds(ds->ds_prev, "snapshot", tx, "");
spa_history_log_internal_ds(ds->ds_prev, "snapshot", tx, " ");
}

void
@@ -3530,7 +3530,7 @@ dsl_dataset_promote_sync(void *arg, dmu_tx_t *tx)
dsl_dataset_phys(origin_ds)->ds_unique_bytes = ddpa->unique;

/* log history record */
spa_history_log_internal_ds(hds, "promote", tx, "");
spa_history_log_internal_ds(hds, "promote", tx, " ");

dsl_dir_rele(odd, FTAG);
promote_rele(ddpa, FTAG);

0 comments on commit 9b90d4d

Please sign in to comment.
You can’t perform that action at this time.