From: Christian Brauner Date: Mon, 14 Jun 2021 15:26:24 +0000 (+0200) Subject: tree-wide: replace problematic terminology X-Git-Tag: lxc-5.0.0~155^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7b227cc01f10f4cc837986560ab00ee7e6ac632;p=thirdparty%2Flxc.git tree-wide: replace problematic terminology Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgfsng.c b/src/lxc/cgroups/cgfsng.c index 5bd703bfa..c612e0568 100644 --- a/src/lxc/cgroups/cgfsng.c +++ b/src/lxc/cgroups/cgfsng.c @@ -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); diff --git a/src/lxc/ringbuf.c b/src/lxc/ringbuf.c index cb7513a1a..43f363656 100644 --- a/src/lxc/ringbuf.c +++ b/src/lxc/ringbuf.c @@ -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;