Use 'td' instead of 'curthread'.
This commit is contained in:
parent
ea871df08c
commit
003ba8a000
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user