From 3d6d12c6b17e6ea84112bd3a7aac19d8b614fc1c Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 28 Apr 2006 17:52:09 +0200 Subject: vol_id: fix logging from libvolume_id's log function --- extras/volume_id/lib/volume_id.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'extras/volume_id/lib') diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index 9f8e39b518..33fd890dfd 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include @@ -42,6 +41,9 @@ int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size) if (id == NULL) return -EINVAL; + info("probing at offset 0x%llx, size 0x%llx", + (unsigned long long) off, (unsigned long long) size); + /* probe for raid first, because fs probes may be successful on raid members */ if (size) { if (volume_id_probe_linux_raid(id, off, size) == 0) @@ -91,6 +93,9 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size if (id == NULL) return -EINVAL; + info("probing at offset 0x%llx, size 0x%llx", + (unsigned long long) off, (unsigned long long) size); + if (volume_id_probe_luks(id, off) == 0) goto found; -- cgit v1.2.3-54-g00ecf