summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index ddfef49b72b..af5cfd1b5dc 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.89 2007/11/27 17:21:52 tedu Exp $ */
+/* $OpenBSD: softraid.c,v 1.90 2008/01/05 07:33:37 brad Exp $ */
/*
* Copyright (c) 2007 Marco Peereboom <marco@peereboom.us>
*
@@ -566,7 +566,7 @@ sr_ioctl(struct device *dev, u_long cmd, caddr_t addr)
default:
DNPRINTF(SR_D_IOCTL, "invalid ioctl\n");
- rv = EINVAL;
+ rv = ENOTTY;
}
rw_exit_write(&sc->sc_lock);