X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=extras%2Fvolume_id%2Flib%2Flinux_swap.c;h=3937f8ea467241bd59ea547fd2865fb2cb991c53;hp=0193648c9ef460c1d3c9e4439e6f185ed3ceba8e;hb=e55a73abb07e6949ebbf17fa08a3ddeaddbbc41f;hpb=83cc6ab4760817509f1ed1ee429669e563f82caf diff --git a/extras/volume_id/lib/linux_swap.c b/extras/volume_id/lib/linux_swap.c index 0193648c9..3937f8ea4 100644 --- a/extras/volume_id/lib/linux_swap.c +++ b/extras/volume_id/lib/linux_swap.c @@ -26,7 +26,7 @@ #include "libvolume_id.h" #include "util.h" -struct swap_header_v1_2 { +static struct swap_header_v1_2 { uint8_t bootbits[1024]; uint32_t version; uint32_t last_page; @@ -42,7 +42,7 @@ int volume_id_probe_linux_swap(struct volume_id *id, uint64_t off) const uint8_t *buf; unsigned int page; - dbg("probing at offset 0x%llx", (unsigned long long) off); + info("probing at offset 0x%llx", (unsigned long long) off); /* the swap signature is at the end of the PAGE_SIZE */ for (page = 0x1000; page <= LARGEST_PAGESIZE; page <<= 1) {