summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_wb.c')
-rw-r--r--sys/dev/pci/if_wb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c
index 6fcdd2a6ff3..3b07a48eaa3 100644
--- a/sys/dev/pci/if_wb.c
+++ b/sys/dev/pci/if_wb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wb.c,v 1.34 2006/03/25 22:41:46 djm Exp $ */
+/* $OpenBSD: if_wb.c,v 1.35 2006/05/28 00:04:24 jason Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1669,7 +1669,7 @@ int wb_ioctl(ifp, command, data)
error = ifmedia_ioctl(ifp, ifr, &sc->sc_mii.mii_media, command);
break;
default:
- error = EINVAL;
+ error = ENOTTY;
break;
}