]> git.ozlabs.org Git - petitboot/blobdiff - discover/kboot-parser.c
Flush log stream on write
[petitboot] / discover / kboot-parser.c
index f8cd61d5b2e66a2cd971265cdcecccd6822d9af3..930fbe49897cd51193762076b08d693783b7cd5a 100644 (file)
@@ -11,8 +11,8 @@
 #include <sys/stat.h>
 
 #include <talloc/talloc.h>
+#include <log/log.h>
 
-#include "log.h"
 #include "pb-protocol/pb-protocol.h"
 #include "paths.h"
 #include "params.h"
@@ -117,7 +117,9 @@ static int check_for_global_option(struct kboot_context *ctx,
        return 0;
 }
 
-static char *get_global_option(struct kboot_context *ctx, const char *name)
+static char *get_global_option(
+               struct kboot_context *ctx __attribute__((unused)),
+               const char *name)
 {
        int i;