chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libvolume_id: gfs + gfs2 support
[elogind.git]
/
extras
/
volume_id
/
lib
/
linux_swap.c
diff --git
a/extras/volume_id/lib/linux_swap.c
b/extras/volume_id/lib/linux_swap.c
index 0193648c9ef460c1d3c9e4439e6f185ed3ceba8e..3937f8ea467241bd59ea547fd2865fb2cb991c53 100644
(file)
--- 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"
#include "libvolume_id.h"
#include "util.h"
-struct swap_header_v1_2 {
+st
atic st
ruct swap_header_v1_2 {
uint8_t bootbits[1024];
uint32_t version;
uint32_t last_page;
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;
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) {
/* the swap signature is at the end of the PAGE_SIZE */
for (page = 0x1000; page <= LARGEST_PAGESIZE; page <<= 1) {