diff options
author | peter <peter@FreeBSD.org> | 2005-06-24 00:37:04 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-06-24 00:37:04 +0000 |
commit | 9729a26e81c1a384d1975dcbb2e135c67f59640b (patch) | |
tree | 92254f6173f3d0a86f720098fdb367cb12266b6b /lib/libkvm/kvm_proc.c | |
parent | c457f9b0df49f1ca53b79e9be38643692e2d5816 (diff) | |
download | FreeBSD-src-9729a26e81c1a384d1975dcbb2e135c67f59640b.zip FreeBSD-src-9729a26e81c1a384d1975dcbb2e135c67f59640b.tar.gz |
Set ki_tdev to NODEV rather than NULL.
Approved by: re
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
-rw-r--r-- | lib/libkvm/kvm_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index c65fed3..250cb44 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -300,7 +300,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt) #if 0 kp->ki_tdev = t_cdev.si_udev; #else - kp->ki_tdev = NULL; + kp->ki_tdev = NODEV; #endif } if (tty.t_pgrp != NULL) { |