Use 'td' instead of 'curthread'.
This commit is contained in:
parent
c9292fd995
commit
eb0bfcfd9a
@ -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…
Reference in New Issue
Block a user