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/compat/svr4/svr4_stream.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/compat/svr4/svr4_stream.c')
-rw-r--r-- | sys/compat/svr4/svr4_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c index db7eabcd67af..853a2722aa8c 100644 --- a/sys/compat/svr4/svr4_stream.c +++ b/sys/compat/svr4/svr4_stream.c @@ -1873,7 +1873,7 @@ svr4_do_putmsg(td, uap, fp) } else { /* Maybe we've been given a device/inode pair */ - udev_t *dev = SVR4_ADDROF(&sc); + dev_t *dev = SVR4_ADDROF(&sc); ino_t *ino = (ino_t *) &dev[1]; skp = svr4_find_socket(td, fp, *dev, *ino); if (skp == NULL) { |