From ae3bcf84e1e6099635c67cf79daddf0929e73823 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 21 Oct 2012 03:40:53 +0200 Subject: [PATCH] blobmsg-example: fix compile errors --- examples/blobmsg-example.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/blobmsg-example.c b/examples/blobmsg-example.c index 86762d8..2c2e703 100644 --- a/examples/blobmsg-example.c +++ b/examples/blobmsg-example.c @@ -1,6 +1,7 @@ #include #include "blobmsg.h" +#include "blobmsg_json.h" static const char *indent_str = "\t\t\t\t\t\t\t\t\t\t\t\t\t"; @@ -128,7 +129,7 @@ int main(int argc, char **argv) blobmsg_buf_init(&buf); fill_message(&buf); dump_message(&buf); - fprintf(stderr, "json: %s\n", blobmsg_format_json(buf.head, false), true); + fprintf(stderr, "json: %s\n", blobmsg_format_json(buf.head, false)); if (buf.buf) free(buf.buf);