aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/flash/n25q.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/flash/n25q.c')
-rw-r--r--sys/dev/flash/n25q.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/flash/n25q.c b/sys/dev/flash/n25q.c
index b885da983fcbe..cf7bfeef1ee1a 100644
--- a/sys/dev/flash/n25q.c
+++ b/sys/dev/flash/n25q.c
@@ -462,7 +462,7 @@ n25q_task(void *arg)
bp->bio_data, bp->bio_bcount);
break;
default:
- bp->bio_error = EINVAL;
+ bp->bio_error = EOPNOTSUPP;
}
biodone(bp);