aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_mountroot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c
index 3b968fd19bbd..a34ae3fe06e3 100644
--- a/sys/kern/vfs_mountroot.c
+++ b/sys/kern/vfs_mountroot.c
@@ -982,6 +982,7 @@ vfs_mountroot_wait(void)
TSENTER();
curfail = 0;
+ lastfail.tv_sec = 0;
while (1) {
g_waitidle();
mtx_lock(&root_holds_mtx);