diff options
| author | oster <oster@NetBSD.org> | 2019-01-29 23:42:06 +0000 |
|---|---|---|
| committer | oster <oster@NetBSD.org> | 2019-01-29 23:42:06 +0000 |
| commit | dc07ed56e14905ab66be6a2b7273756605b9f7b7 (patch) | |
| tree | 5de9ff501cedeba2fd35e26a3198791dfc3ece5a /sys/dev/raidframe | |
| parent | 8b3ad71166dd6eeeeb44e740c71dcc14e4e172b5 (diff) | |
Need to return EPASSTHROUGH for ioctls that arn't handled in compat.
Thanks to mlelstv for finding this!
Diffstat (limited to 'sys/dev/raidframe')
| -rw-r--r-- | sys/dev/raidframe/rf_compat80.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_compat80.c b/sys/dev/raidframe/rf_compat80.c index 2692557530e..196af7dce6c 100644 --- a/sys/dev/raidframe/rf_compat80.c +++ b/sys/dev/raidframe/rf_compat80.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_compat80.c,v 1.4 2019/01/29 09:28:50 pgoyette Exp $ */ +/* $NetBSD: rf_compat80.c,v 1.5 2019/01/29 23:42:06 oster Exp $ */ /* * Copyright (c) 2017 Matthew R. Green @@ -242,7 +242,7 @@ int error; case RAIDFRAME_FAIL_DISK80: return EPASSTHROUGH; default: - return EINVAL; + return EPASSTHROUGH; } switch (cmd) { |
