From b7b227cc01f10f4cc837986560ab00ee7e6ac632 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 14 Jun 2021 17:26:24 +0200 Subject: [PATCH] tree-wide: replace problematic terminology Signed-off-by: Christian Brauner --- src/lxc/cgroups/cgfsng.c | 2 +- src/lxc/ringbuf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.47.2