diff options
author | bde <bde@FreeBSD.org> | 1995-11-06 00:36:19 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-11-06 00:36:19 +0000 |
commit | 08b652fb6584a6e35dd3b2b51861b90f852b6d95 (patch) | |
tree | 91dcf848840fefc35bc4b406b8a5599bdac59cbb /sys/kern/kern_lkm.c | |
parent | aa3705d78b7fc12ce3cf9e9a7437407154f241c8 (diff) | |
download | FreeBSD-src-08b652fb6584a6e35dd3b2b51861b90f852b6d95.zip FreeBSD-src-08b652fb6584a6e35dd3b2b51861b90f852b6d95.tar.gz |
Replaced bogus macros for dummy devswitch entries by functions.
These functions went away:
enosys (hasn't been used for some time)
enxio
enodev
enoioctl (was used only once, actually for a vop)
if_tun.c:
Continued cleaning up...
conf.h:
Probably fixed the type of d_reset_t. It is hard to tell the correct
type because there are no non-dummy device reset functions.
Removed last vestige of ambiguous sleep message strings.
Diffstat (limited to 'sys/kern/kern_lkm.c')
-rw-r--r-- | sys/kern/kern_lkm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c index 0472ece..c9ad938 100644 --- a/sys/kern/kern_lkm.c +++ b/sys/kern/kern_lkm.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_lkm.c,v 1.15 1995/09/08 11:08:34 bde Exp $ + * $Id: kern_lkm.c,v 1.16 1995/10/04 03:42:39 julian Exp $ */ /* @@ -489,7 +489,7 @@ lkmenodev(dev, flags, fmt, p) struct proc *p; { - return(enodev()); + return(ENODEV); } int |