chiark / gitweb /
libudev: libudev.pc add Libs.private
[elogind.git] / extras / volume_id / lib / sysv.c
index 6e0ed046f0b357b6f323c3d6683a4a219e79554a..fe8efecd9b78541e2f9a9e7bc130f7aa08d295b1 100644 (file)
@@ -24,6 +24,7 @@
 #include <ctype.h>
 
 #include "libvolume_id.h"
+#include "libvolume_id-private.h"
 #include "util.h"
 
 #define SYSV_NICINOD                   100
@@ -89,13 +90,13 @@ struct xenix_super {
 #define XENIX_MAGIC                            0x2b5544
 #define SYSV_MAX_BLOCKSIZE                     0x800
 
-int volume_id_probe_sysv(struct volume_id *id, uint64_t off)
+int volume_id_probe_sysv(struct volume_id *id, uint64_t off, uint64_t size)
 {
        struct sysv_super *vs;
        struct xenix_super *xs;
        unsigned int boff;
 
-       info("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx\n", (unsigned long long) off);
 
        for (boff = 0x200; boff <= SYSV_MAX_BLOCKSIZE; boff <<= 1) {
                vs = (struct sysv_super *)