summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_sf.c')
-rw-r--r--sys/dev/pci/if_sf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c
index e7b87448301..aa35a67dbda 100644
--- a/sys/dev/pci/if_sf.c
+++ b/sys/dev/pci/if_sf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sf.c,v 1.36 2006/03/25 22:41:45 djm Exp $ */
+/* $OpenBSD: if_sf.c,v 1.37 2006/05/28 00:04:24 jason Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -521,7 +521,7 @@ int sf_ioctl(ifp, command, data)
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
break;
default:
- error = EINVAL;
+ error = ENOTTY;
break;
}