summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-08-21 19:08:20 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-08-21 21:26:07 +0200
commit26823f980d652f777aae6e6da95bc14f0e8990cd (patch)
treef9dcc8ba179aa3f302ca41c86a6a5b7b35014561 /src/test
parentcore/exec-invoke: document calling setpriority() after sched_setattr() (diff)
downloadsystemd-26823f980d652f777aae6e6da95bc14f0e8990cd.tar.xz
systemd-26823f980d652f777aae6e6da95bc14f0e8990cd.zip
hwdb: rename hwdb_bin_paths -> HWDB_BIN_PATHS
We usually use upper letters for constant definitions.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-sd-hwdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-sd-hwdb.c b/src/test/test-sd-hwdb.c
index 307609ce32..7689cdf9a4 100644
--- a/src/test/test-sd-hwdb.c
+++ b/src/test/test-sd-hwdb.c
@@ -62,7 +62,7 @@ TEST(sd_hwdb_new_from_path) {
ASSERT_RETURN_EXPECTED_SE(sd_hwdb_new_from_path("", &hwdb) == -EINVAL);
assert_se(sd_hwdb_new_from_path("/path/that/should/not/exist", &hwdb) < 0);
- NULSTR_FOREACH(hwdb_bin_path, hwdb_bin_paths) {
+ NULSTR_FOREACH(hwdb_bin_path, HWDB_BIN_PATHS) {
r = sd_hwdb_new_from_path(hwdb_bin_path, &hwdb);
if (r >= 0)
break;