From 3b034c39eb97538bc6c0c497746c9f24de986a1c Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 30 Oct 2018 06:47:57 +0000 Subject: [PATCH] spelling: array Signed-off-by: Josh Soref --- src/lxc/lxccontainer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c index 8c26769b4..6c35ab653 100644 --- a/src/lxc/lxccontainer.c +++ b/src/lxc/lxccontainer.c @@ -2254,7 +2254,7 @@ static bool add_to_array(char ***names, char *cname, int pos) if (!newnames[pos]) return false; - /* Sort the arrray as we will use binary search on it. */ + /* Sort the array as we will use binary search on it. */ qsort(newnames, pos + 1, sizeof(char *), (int (*)(const void *, const void *))string_cmp); @@ -2273,7 +2273,7 @@ static bool add_to_clist(struct lxc_container ***list, struct lxc_container *c, *list = newlist; newlist[pos] = c; - /* Sort the arrray as we will use binary search on it. */ + /* Sort the array as we will use binary search on it. */ if (sort) qsort(newlist, pos + 1, sizeof(struct lxc_container *), (int (*)(const void *, const void *))container_cmp); -- 2.39.2