diff options
Diffstat (limited to 'util-linux/volume_id/linux_raid.c')
-rw-r--r-- | util-linux/volume_id/linux_raid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util-linux/volume_id/linux_raid.c b/util-linux/volume_id/linux_raid.c index 0877b8ad2..cc024692c 100644 --- a/util-linux/volume_id/linux_raid.c +++ b/util-linux/volume_id/linux_raid.c | |||
@@ -42,8 +42,9 @@ struct mdp_super_block { | |||
42 | #define MD_RESERVED_BYTES 0x10000 | 42 | #define MD_RESERVED_BYTES 0x10000 |
43 | #define MD_MAGIC 0xa92b4efc | 43 | #define MD_MAGIC 0xa92b4efc |
44 | 44 | ||
45 | int volume_id_probe_linux_raid(struct volume_id *id, uint64_t off, uint64_t size) | 45 | int volume_id_probe_linux_raid(struct volume_id *id /*,uint64_t off*/, uint64_t size) |
46 | { | 46 | { |
47 | #define off ((uint64_t)0) | ||
47 | uint64_t sboff; | 48 | uint64_t sboff; |
48 | uint8_t uuid[16]; | 49 | uint8_t uuid[16]; |
49 | struct mdp_super_block *mdp; | 50 | struct mdp_super_block *mdp; |