summaryrefslogtreecommitdiff
path: root/ubus.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-21 16:08:32 +0100
committerFelix Fietkau <nbd@openwrt.org>2014-03-21 16:08:32 +0100
commitf1e5b2292ea452af8d46267f4bbcc515841963ce (patch)
treede861faef0b04a684293a303f6b069b88c6e4277 /ubus.c
parent3d317e90f15eec480b23f4dcddb841c292bef690 (diff)
downloadnetifd-f1e5b2292ea452af8d46267f4bbcc515841963ce.tar.gz
ubus: use list_empty() instead of the compat wrapper
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'ubus.c')
-rw-r--r--ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubus.c b/ubus.c
index 63b26d6..5cb54b1 100644
--- a/ubus.c
+++ b/ubus.c
@@ -741,7 +741,7 @@ netifd_dump_status(struct interface *iface)
blobmsg_close_table(&b, a);
- if (!list_is_empty(&iface->errors))
+ if (!list_empty(&iface->errors))
netifd_add_interface_errors(&b, iface);
}