Set ki_tdev to NODEV rather than NULL.
Approved by: re
This commit is contained in:
parent
c457f9b0df
commit
9729a26e81
@ -300,7 +300,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
|||||||
#if 0
|
#if 0
|
||||||
kp->ki_tdev = t_cdev.si_udev;
|
kp->ki_tdev = t_cdev.si_udev;
|
||||||
#else
|
#else
|
||||||
kp->ki_tdev = NULL;
|
kp->ki_tdev = NODEV;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
if (tty.t_pgrp != NULL) {
|
if (tty.t_pgrp != NULL) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user