summaryrefslogtreecommitdiffstats
path: root/src/test/test-capability.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-07-01 23:33:20 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-02 12:10:12 +0200
commitda890466433279d2a6714e3571fc8d7dc4369e4d (patch)
treef494ead2b43466772758711ebb9c9b9841b053e3 /src/test/test-capability.c
parentNEWS: reword/fix/extend the entries for v254 (diff)
downloadsystemd-da890466433279d2a6714e3571fc8d7dc4369e4d.tar.xz
systemd-da890466433279d2a6714e3571fc8d7dc4369e4d.zip
tree-wide: "<n>bit" → "<n>-bit"
In some places, "<n> bits" is used when more appropriate.
Diffstat (limited to 'src/test/test-capability.c')
-rw-r--r--src/test/test-capability.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/test-capability.c b/src/test/test-capability.c
index e989065f49..bfdba4f294 100644
--- a/src/test/test-capability.c
+++ b/src/test/test-capability.c
@@ -229,7 +229,7 @@ static void test_apply_ambient_caps(void) {
assert_se(prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_IS_SET, CAP_CHOWN, 0, 0) == 0);
}
-static void test_ensure_cap_64bit(void) {
+static void test_ensure_cap_64_bit(void) {
_cleanup_free_ char *content = NULL;
unsigned long p = 0;
int r;
@@ -241,7 +241,7 @@ static void test_ensure_cap_64bit(void) {
assert_se(safe_atolu(content, &p) >= 0);
- /* If caps don't fit into 64bit anymore, we have a problem, fail the test. */
+ /* If caps don't fit into 64-bit anymore, we have a problem, fail the test. */
assert_se(p <= 63);
/* Also check for the header definition */
@@ -303,7 +303,7 @@ int main(int argc, char *argv[]) {
test_setup_logging(LOG_DEBUG);
- test_ensure_cap_64bit();
+ test_ensure_cap_64_bit();
test_last_cap_file();
test_last_cap_probe();