X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fvolume_id%2Flib%2Fhighpoint.c;h=f2c4069cc613a0bbd683857f09eadf07b1cb2631;hb=f29fdd3cef35d6282c4af499b4e137021ace62e0;hp=deba540ad586f14ce70bff48d2501f7c7569c091;hpb=83cc6ab4760817509f1ed1ee429669e563f82caf;p=elogind.git diff --git a/extras/volume_id/lib/highpoint.c b/extras/volume_id/lib/highpoint.c index deba540ad..f2c4069cc 100644 --- a/extras/volume_id/lib/highpoint.c +++ b/extras/volume_id/lib/highpoint.c @@ -43,13 +43,13 @@ struct hpt45x_meta { #define HPT45X_MAGIC_BAD 0x5a7816fd -int volume_id_probe_highpoint_37x_raid(struct volume_id *id, uint64_t off) +int volume_id_probe_highpoint_37x_raid(struct volume_id *id, uint64_t off, uint64_t size) { const uint8_t *buf; struct hpt37x_meta *hpt; uint32_t magic; - dbg("probing at offset 0x%llx", (unsigned long long) off); + info("probing at offset 0x%llx", (unsigned long long) off); buf = volume_id_get_buffer(id, off + HPT37X_CONFIG_OFF, 0x200); if (buf == NULL)