summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_vic.c')
-rw-r--r--sys/dev/pci/if_vic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 6e0076f4cee..48b5a3ceb68 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.6 2006/03/25 22:41:46 djm Exp $ */
+/* $OpenBSD: if_vic.c,v 1.7 2006/05/28 00:04:24 jason Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -687,7 +687,7 @@ vic_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
break;
default:
- error = EINVAL;
+ error = ENOTTY;
}
if (error == ENETRESET) {