summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ic/ahci.c b/sys/dev/ic/ahci.c
index d4c10c7..7d89dd3 100644
--- a/sys/dev/ic/ahci.c
+++ b/sys/dev/ic/ahci.c
@@ -709,7 +709,7 @@ sata_dev_rw(dev_t dev, struct sio_txn *sio, bool write)
}
dynfree(buf);
- return status;
+ return sio->len;
}
/*