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: really fix endianess bug in linux_raid detection
[elogind.git]
/
extras
/
volume_id
/
lib
/
romfs.c
diff --git
a/extras/volume_id/lib/romfs.c
b/extras/volume_id/lib/romfs.c
index 8bb2a0018afabfdb409aceef29950a662b82c990..2db36d61a5de0cc11cab437819dee117dc7ff944 100644
(file)
--- a/
extras/volume_id/lib/romfs.c
+++ b/
extras/volume_id/lib/romfs.c
@@
-33,11
+33,11
@@
struct romfs_super {
uint8_t name[0];
} PACKED;
uint8_t name[0];
} PACKED;
-int volume_id_probe_romfs(struct volume_id *id, uint64_t off)
+int volume_id_probe_romfs(struct volume_id *id, uint64_t off
, uint64_t size
)
{
struct romfs_super *rfs;
{
struct romfs_super *rfs;
-
dbg
("probing at offset 0x%llx", (unsigned long long) off);
+
info
("probing at offset 0x%llx", (unsigned long long) off);
rfs = (struct romfs_super *) volume_id_get_buffer(id, off, 0x200);
if (rfs == NULL)
rfs = (struct romfs_super *) volume_id_get_buffer(id, off, 0x200);
if (rfs == NULL)