summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom_io.c')
-rw-r--r--sys/geom/geom_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index a074534..beb74fe 100644
--- a/sys/geom/geom_io.c
+++ b/sys/geom/geom_io.c
@@ -492,7 +492,7 @@ g_io_schedule_down(struct thread *tp __unused)
g_bioq_unlock(&g_bio_run_down);
if (pace > 0) {
CTR1(KTR_GEOM, "g_down pacing self (pace %d)", pace);
- tsleep(&error, PRIBIO, "g_down", hz/10);
+ pause("g_down", hz/10);
pace--;
}
error = g_io_check(bp);
OpenPOWER on IntegriCloud