From 342cfcb319cad816da5472c8fe5ca82372965088 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 1 May 2013 23:35:19 +0200 Subject: Fix macro name * linux/dev/glue/block.c (device_get_status): Use DEV_GET_RECORDS_RECORD_SIZE for DEV_GET_RECORDS instead of DEV_GET_SIZE_RECORD_SIZE. --- linux/dev/glue/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/dev') 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 -- cgit v1.2.3