Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-21 05:40:53 +0400
committerFelix Fietkau <nbd@openwrt.org>2012-10-21 05:40:53 +0400
commitae3bcf84e1e6099635c67cf79daddf0929e73823 (patch)
tree61ca9a6fc980879cb0b1ecd84d64db6cd0054891 /examples
parente3efdcfe154a5e209f2c00070b4a25928514db5b (diff)
blobmsg-example: fix compile errors
Diffstat (limited to 'examples')
-rw-r--r--examples/blobmsg-example.c3
1 files changed, 2 insertions, 1 deletions
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 <stdio.h>
#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);