X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Flxc%2Flxccontainer.c;h=6c35ab6532c207fa171805145123c9a9f14c468d;hb=3b034c39eb97538bc6c0c497746c9f24de986a1c;hp=8c26769b45b71521cdf0f27c860013e3589aa241;hpb=a1e0e6df9c622b518b1883173b307939a46341f0;p=mirror_lxc.git 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);