From 25f7c94b65dcd501c8f12e7515e3e33332ce3c9e Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Tue, 15 Dec 2015 15:32:33 +0100 Subject: config: blobmsg_check_attr expects bool type as last argument Signed-off-by: Hans Dedecker --- src/ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ubus.c') diff --git a/src/ubus.c b/src/ubus.c index 0b51183..14d0a5f 100644 --- a/src/ubus.c +++ b/src/ubus.c @@ -345,7 +345,7 @@ bool ubus_has_prefix(const char *name, const char *ifname) continue; if ((cur = tb[IFACE_ATTR_PREFIX])) { - if (blobmsg_type(cur) != BLOBMSG_TYPE_ARRAY || !blobmsg_check_attr(cur, NULL)) + if (blobmsg_type(cur) != BLOBMSG_TYPE_ARRAY || !blobmsg_check_attr(cur, false)) continue; struct blob_attr *d; -- cgit v1.2.3