summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/dev/glue/block.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c
index 8c41f08..745e93a 100644
--- a/linux/dev/glue/block.c
+++ b/linux/dev/glue/block.c
@@ -1650,7 +1650,7 @@ device_get_status (void *d, dev_flavor_t flavor, dev_status_t status,
/* It would be nice to return the block size as reported by
the driver, but a lot of user level code assumes the sector
size to be 512. */
- status[DEV_GET_SIZE_RECORD_SIZE] = 512;
+ status[DEV_GET_RECORDS_RECORD_SIZE] = 512;
/* Always return DEV_GET_RECORDS_COUNT. This is what all native
Mach drivers do, and makes it possible to detect the absence
of the call by setting it to a different value on input. MiG