diff options
author | Hans Dedecker <hans.dedecker@technicolor.com> | 2015-12-15 15:32:33 +0100 |
---|---|---|
committer | Hans Dedecker <hans.dedecker@technicolor.com> | 2015-12-15 15:40:34 +0100 |
commit | 25f7c94b65dcd501c8f12e7515e3e33332ce3c9e (patch) | |
tree | 21f3d9b303a13b6c358747799dbe29d5750381ae /src/ubus.c | |
parent | c5cb11650a1f7ff321b4ac190c8be7f533cf9636 (diff) |
config: blobmsg_check_attr expects bool type as last argument
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/ubus.c')
-rw-r--r-- | src/ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |