Use 'td' instead of 'curthread'.

This commit is contained in:
pjd 2005-12-19 16:27:13 +00:00
parent c9292fd995
commit eb0bfcfd9a

View File

@ -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;