From f1aa0f9064653110d117fb5be8d8901086236227 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 16 May 2019 22:09:36 +0200 Subject: 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 --- ubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ubus.c') diff --git a/ubus.c b/ubus.c index e7cbfb9..150d818 100644 --- a/ubus.c +++ b/ubus.c @@ -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); -- cgit v1.2.3