summaryrefslogtreecommitdiff
path: root/linux/dev/include
diff options
context:
space:
mode:
Diffstat (limited to 'linux/dev/include')
-rw-r--r--linux/dev/include/linux/blk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/dev/include/linux/blk.h b/linux/dev/include/linux/blk.h
index 852853c..412b864 100644
--- a/linux/dev/include/linux/blk.h
+++ b/linux/dev/include/linux/blk.h
@@ -385,7 +385,9 @@ static void end_request(int uptodate) {
struct request *req = CURRENT;
#endif /* IDE_DRIVER */
struct buffer_head * bh;
+#ifndef MACH
int nsect;
+#endif
req->errors = 0;
if (!uptodate) {