chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
volume_id: fat - accept empty FAT32 fsinfo signature
[elogind.git]
/
extras
/
volume_id
/
lib
/
hfs.c
diff --git
a/extras/volume_id/lib/hfs.c
b/extras/volume_id/lib/hfs.c
index dbc5f36195e6cb6d32566b7fa772e150d81590d1..903378b34ed0fb8acc937ed963afde23cb052ba5 100644
(file)
--- a/
extras/volume_id/lib/hfs.c
+++ b/
extras/volume_id/lib/hfs.c
@@
-188,7
+188,7
@@
int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t siz
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
const uint8_t *buf;
struct hfsplus_extent extents[HFSPLUS_EXTENT_COUNT];
const uint8_t *buf;
- info("probing at offset 0x%
llx\n", (unsigned long long)
off);
+ info("probing at offset 0x%
" PRIx64 "\n",
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)
@@
-211,7
+211,7
@@
int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t siz
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\n", (unsigned long long)
off);
+ dbg("hfs wrapped hfs+ found at offset 0x%
" PRIx64 "\n",
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)