From f7f899d2d3e6278e81ace5b109f989c0d6eca561 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 22 Sep 2015 06:12:08 +0200 Subject: [PATCH] unbreak acl allocation Signed-off-by: John Crispin --- ubusd_acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubusd_acl.c b/ubusd_acl.c index 4d047b7..1d965c0 100644 --- a/ubusd_acl.c +++ b/ubusd_acl.c @@ -206,7 +206,7 @@ ubusd_acl_alloc_obj(struct ubusd_acl_file *file, const char *obj) struct ubusd_acl_obj *o; char *k; - o = calloc_a(1, sizeof(*o), &k, strlen(obj) + 1); + o = calloc_a(sizeof(*o), &k, strlen(obj) + 1); o->user = file->user; o->group = file->group; o->avl.key = k; -- 2.30.2