diff options
Diffstat (limited to 'fs/partitions/mac.c')
| -rw-r--r-- | fs/partitions/mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/partitions/mac.c b/fs/partitions/mac.c index 74465ff7c263..68d6a216ee79 100644 --- a/fs/partitions/mac.c +++ b/fs/partitions/mac.c | |||
| @@ -59,7 +59,7 @@ int mac_partition(struct parsed_partitions *state) | |||
| 59 | put_dev_sector(sect); | 59 | put_dev_sector(sect); |
| 60 | return 0; /* not a MacOS disk */ | 60 | return 0; /* not a MacOS disk */ |
| 61 | } | 61 | } |
| 62 | printk(" [mac]"); | 62 | strlcat(state->pp_buf, " [mac]", PAGE_SIZE); |
| 63 | blocks_in_map = be32_to_cpu(part->map_count); | 63 | blocks_in_map = be32_to_cpu(part->map_count); |
| 64 | for (blk = 1; blk <= blocks_in_map; ++blk) { | 64 | for (blk = 1; blk <= blocks_in_map; ++blk) { |
| 65 | int pos = blk * secsize; | 65 | int pos = blk * secsize; |
| @@ -128,6 +128,6 @@ int mac_partition(struct parsed_partitions *state) | |||
| 128 | #endif | 128 | #endif |
| 129 | 129 | ||
| 130 | put_dev_sector(sect); | 130 | put_dev_sector(sect); |
| 131 | printk("\n"); | 131 | strlcat(state->pp_buf, "\n", PAGE_SIZE); |
| 132 | return 1; | 132 | return 1; |
| 133 | } | 133 | } |
