]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
tree-wide: replace problematic terminology 3867/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 14 Jun 2021 15:26:24 +0000 (17:26 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 14 Jun 2021 15:26:24 +0000 (17:26 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgfsng.c
src/lxc/ringbuf.c

index 5bd703bfa8836fcdc6088c4495d249bb5afc056e..c612e056809e4a828d76c910116ba95e72cd3616 100644 (file)
@@ -1910,7 +1910,7 @@ __cgfsng_ops static bool cgfsng_criu_get_hierarchies(struct cgroup_ops *ops,
        if (!ops->hierarchies)
                return ret_set_errno(false, ENOENT);
 
-       /* sanity check n */
+       /* consistency check n */
        for (i = 0; i < n; i++)
                if (!ops->hierarchies[i])
                        return ret_set_errno(false, ENOENT);
index cb7513a1a6c3c346e8f28b7766fb90d1c89c0992..43f3636565b4b20a7bc686d507da1de4b813990d 100644 (file)
@@ -95,7 +95,7 @@ int lxc_ringbuf_write(struct lxc_ringbuf *buf, const char *msg, size_t len)
        char *w_addr;
        uint64_t free;
 
-       /* sanity check: a write should never exceed the ringbuffer's total size */
+       /* consistency check: a write should never exceed the ringbuffer's total size */
        if (len > buf->size)
                return -EFBIG;