diff --git a/module/zfs/txg.c b/module/zfs/txg.c index a5741bbdb3..d48c1c5440 100644 --- a/module/zfs/txg.c +++ b/module/zfs/txg.c @@ -315,7 +315,7 @@ txg_sync_thread(dsl_pool_t *dp) start = delta = 0; for (;;) { uint64_t timer, timeout = zfs_txg_timeout * hz; - uint64_t txg; + uint64_t txg, written; /* * We sync when we're scrubbing, there's someone waiting