diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-17 17:16:53 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-17 17:16:53 +0000 |
commit | f3732fd15b5a493a090a0453f937a78949c65f7d (patch) | |
tree | fe8b297144afd6d6f7db41275c72cb5eb663ec02 /sys/kern/tty_tty.c | |
parent | c0d431fe315475c5fe50084db455416148d57914 (diff) | |
download | src-f3732fd15b5a493a090a0453f937a78949c65f7d.tar.gz src-f3732fd15b5a493a090a0453f937a78949c65f7d.zip |
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.
Notes
Notes:
svn path=/head/; revision=130640
Diffstat (limited to 'sys/kern/tty_tty.c')
-rw-r--r-- | sys/kern/tty_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_tty.c b/sys/kern/tty_tty.c index 85b0eacba66e..e467dd304364 100644 --- a/sys/kern/tty_tty.c +++ b/sys/kern/tty_tty.c @@ -58,7 +58,7 @@ static void ctty_clone(void *arg, char *name, int namelen, struct cdev **dev) { - if (*dev != NODEV) + if (*dev != NULL) return; if (strcmp(name, "tty")) return; |