From f3732fd15b5a493a090a0453f937a78949c65f7d Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 17 Jun 2004 17:16:53 +0000 Subject: Second half of the dev_t cleanup. The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc. --- sys/dev/dcons/dcons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/dcons') diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c index 5bdbbfbaff7a..c1b320d797a8 100644 --- a/sys/dev/dcons/dcons.c +++ b/sys/dev/dcons/dcons.c @@ -598,7 +598,7 @@ dcons_modevent(module_t mode, int type, void *data) #if CONS_NODEV gdb_arg = NULL; #else - gdbdev = NODEV; + gdbdev = NULL; #endif #endif #if __FreeBSD_version >= 500000 -- cgit v1.3