diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-05-01 23:35:19 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-05-01 23:35:19 +0200 |
commit | 342cfcb319cad816da5472c8fe5ca82372965088 (patch) | |
tree | 6a7b8e240bf7fb7e2eaee7d48dd8f577e3d3c8df | |
parent | 8c8fa10a6146cf3cd0d473b38ced2fc99ad935fe (diff) |
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.
-rw-r--r-- | linux/dev/glue/block.c | 2 |
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 |