diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-05-16 22:09:36 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-05-16 22:15:16 +0200 |
commit | f1aa0f9064653110d117fb5be8d8901086236227 (patch) | |
tree | 46f1a9ab96953f5e1b51fd67f515717e5c403412 /ubus.c | |
parent | f6fb70005a52bb6bd6affd0fdc664664339a616b (diff) |
treewide: pass bool as second argument of blobmsg_check_attr
blobmsg_check_attr() takes as second argument a bool; fix it where needed
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'ubus.c')
-rw-r--r-- | ubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -243,7 +243,7 @@ netifd_handle_alias(struct ubus_context *ctx, struct ubus_object *obj, if (blobmsg_type(cur) != BLOBMSG_TYPE_STRING) goto error; - if (!blobmsg_check_attr(cur, NULL)) + if (!blobmsg_check_attr(cur, false)) goto error; alias_notify_device(blobmsg_data(cur), dev); |