From eb0bfcfd9abd4fd248daa91f049452799227b6ca Mon Sep 17 00:00:00 2001 From: pjd Date: Mon, 19 Dec 2005 16:27:13 +0000 Subject: [PATCH] Use 'td' instead of 'curthread'. --- sys/kern/vfs_mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 1c2c1b07b309..3615d82dc583 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1204,7 +1204,7 @@ devfs_first(void) if (error) return; - error = VFS_MOUNT(mp, curthread); + error = VFS_MOUNT(mp, td); KASSERT(error == 0, ("VFS_MOUNT(devfs) failed %d", error)); if (error) return;