Use 'td' instead of 'curthread'.

This commit is contained in:
Pawel Jakub Dawidek 2005-12-19 16:27:13 +00:00
parent ea871df08c
commit 003ba8a000
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=153541

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;