diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2005-03-10 23:18:33 +0000 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2005-03-10 23:18:33 +0000 |
commit | cda91c074085b843416e5edb539fc0fc3bfaf7a1 (patch) | |
tree | 5e2991a34fe01309d8ed26513e0954ba82508435 /volume_id/mac.c | |
parent | 10dbabe91eaf75a7f9433581e38674714d69ad17 (diff) | |
download | hal-cda91c074085b843416e5edb539fc0fc3bfaf7a1.tar.gz |
add minix probing code
New file.
New file.
Export unicode converter.
Export unicode converter.
Add minix.
Version 41.
Diffstat (limited to 'volume_id/mac.c')
-rw-r--r-- | volume_id/mac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/volume_id/mac.c b/volume_id/mac.c index 2e2db486..dcfacc2a 100644 --- a/volume_id/mac.c +++ b/volume_id/mac.c @@ -61,7 +61,7 @@ int volume_id_probe_mac_partition_map(struct volume_id *id, __u64 off) struct mac_driver_desc *driver; struct mac_partition *part; - dbg("probing at offset %llu", off); + dbg("probing at offset 0x%llx", (unsigned long long) off); buf = volume_id_get_buffer(id, off, 0x200); if (buf == NULL) @@ -122,7 +122,7 @@ int volume_id_probe_mac_partition_map(struct volume_id *id, __u64 off) poff = be32_to_cpu(part->start_block) * bsize; plen = be32_to_cpu(part->block_count) * bsize; dbg("found '%s' partition entry at 0x%llx, len 0x%llx", - part->type, poff, plen); + part->type, (unsigned long long) poff, (unsigned long long) plen); id->partitions[i].off = poff; id->partitions[i].len = plen; |