diff options
Diffstat (limited to 'fs/partitions/karma.c')
-rw-r--r-- | fs/partitions/karma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/partitions/karma.c b/fs/partitions/karma.c index 176d89b..1cc928b 100644 --- a/fs/partitions/karma.c +++ b/fs/partitions/karma.c @@ -9,7 +9,7 @@ #include "check.h" #include "karma.h" -int karma_partition(struct parsed_partitions *state, struct block_device *bdev) +int karma_partition(struct parsed_partitions *state) { int i; int slot = 1; @@ -29,7 +29,7 @@ int karma_partition(struct parsed_partitions *state, struct block_device *bdev) } __attribute__((packed)) *label; struct d_partition *p; - data = read_dev_sector(bdev, 0, §); + data = read_part_sector(state, 0, §); if (!data) return -1; |