diff options
Diffstat (limited to 'sys/dev/pci/if_ti.c')
-rw-r--r-- | sys/dev/pci/if_ti.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c index a1f46bb92dc..227c816e2d8 100644 --- a/sys/dev/pci/if_ti.c +++ b/sys/dev/pci/if_ti.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ti.c,v 1.81 2006/05/27 10:03:15 brad Exp $ */ +/* $OpenBSD: if_ti.c,v 1.82 2006/05/28 00:04:24 jason Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -2519,7 +2519,7 @@ ti_ioctl(struct ifnet *ifp, u_long command, caddr_t data) error = ifmedia_ioctl(ifp, ifr, &sc->ifmedia, command); break; default: - error = EINVAL; + error = ENOTTY; break; } |