chiark / gitweb /
volume_id: fail on undefined __BYTE_ORDER
[elogind.git] / extras / volume_id / lib / netware.c
index 4d157aaf5d4c5511ff2b0bcba92ab9bf8417f9c4..249dbbf20d4465f698e1ab4fe5d2799c82df9268 100644 (file)
@@ -24,6 +24,7 @@
 #include <ctype.h>
 
 #include "libvolume_id.h"
+#include "libvolume_id-private.h"
 #include "util.h"
 
 #define NW_SUPERBLOCK_OFFSET                   0x1000
@@ -82,7 +83,7 @@ int volume_id_probe_netware(struct volume_id *id, uint64_t off, uint64_t size)
 {
        struct netware_super_block *nw;
 
-       info("probing at offset 0x%llx", (unsigned long long) off);
+       info("probing at offset 0x%llx\n", (unsigned long long) off);
 
        nw = (struct netware_super_block *) volume_id_get_buffer(id, off + NW_SUPERBLOCK_OFFSET, 0x200);
        if (nw == NULL)