chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fix ia64 compile
[elogind.git]
/
extras
/
volume_id
/
volume_id
/
hfs.c
diff --git
a/extras/volume_id/volume_id/hfs.c
b/extras/volume_id/volume_id/hfs.c
index 327461c676f1675b5b94022f74dec3f362e0cc41..8c409750364ca5377d0c4e5749b3ed5414fe7dab 100644
(file)
--- a/
extras/volume_id/volume_id/hfs.c
+++ b/
extras/volume_id/volume_id/hfs.c
@@
-173,7
+173,7
@@
int volume_id_probe_hfs_hfsplus(struct volume_id *id, __u64 off)
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
const __u8 *buf;
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
const __u8 *buf;
- dbg("probing at offset
%llu",
off);
+ dbg("probing at offset
0x%llx", (unsigned long long)
off);
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
@@
-196,7
+196,7
@@
int volume_id_probe_hfs_hfsplus(struct volume_id *id, __u64 off)
off += (alloc_first_block * 512) +
(embed_first_block * alloc_block_size);
off += (alloc_first_block * 512) +
(embed_first_block * alloc_block_size);
- dbg("hfs wrapped hfs+ found at offset 0x%llx", off);
+ dbg("hfs wrapped hfs+ found at offset 0x%llx",
(unsigned long long)
off);
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)
buf = volume_id_get_buffer(id, off + HFS_SUPERBLOCK_OFFSET, 0x200);
if (buf == NULL)