Unverified Commit d63f180e by Josh Soref Committed by Christian Brauner

spelling: array

Signed-off-by: 's avatarJosh Soref <jsoref@gmail.com>
parent 6f7621da
......@@ -2232,7 +2232,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);
......@@ -2251,7 +2251,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment