]> git.proxmox.com Git - mirror_lxc.git/commitdiff
spelling: array
authorJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 06:47:57 +0000 (06:47 +0000)
committerJosh Soref <jsoref@users.noreply.github.com>
Tue, 30 Oct 2018 06:47:57 +0000 (06:47 +0000)
Signed-off-by: Josh Soref <jsoref@gmail.com>
src/lxc/lxccontainer.c

index 8c26769b45b71521cdf0f27c860013e3589aa241..6c35ab6532c207fa171805145123c9a9f14c468d 100644 (file)
@@ -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);