summaryrefslogtreecommitdiff
path: root/src/test/test-nss-hosts.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-05-14 15:27:17 +0900
committerLuca Boccassi <luca.boccassi@gmail.com>2022-05-14 10:51:05 +0100
commit618b3642e1efb48494b397fa4d80b787216204bb (patch)
tree52353c018f7d0181d2272e44b23bbec0777a4215 /src/test/test-nss-hosts.c
parentbf7a24e50fb2e98de8600d06ee0cd0cbd55ea9a6 (diff)
downloadsystemd-618b3642e1efb48494b397fa4d80b787216204bb.tar.gz
tree-wide: replace AF_LOCAL with AF_UNIX
Diffstat (limited to 'src/test/test-nss-hosts.c')
-rw-r--r--src/test/test-nss-hosts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-nss-hosts.c b/src/test/test-nss-hosts.c
index 7b2bea4f64..c361df1632 100644
--- a/src/test/test-nss-hosts.c
+++ b/src/test/test-nss-hosts.c
@@ -324,7 +324,7 @@ static void test_byname(void *handle, const char *module, const char *name) {
puts("");
test_gethostbyname3_r(handle, module, name, AF_UNSPEC);
puts("");
- test_gethostbyname3_r(handle, module, name, AF_LOCAL);
+ test_gethostbyname3_r(handle, module, name, AF_UNIX);
puts("");
test_gethostbyname2_r(handle, module, name, AF_INET);
@@ -333,7 +333,7 @@ static void test_byname(void *handle, const char *module, const char *name) {
puts("");
test_gethostbyname2_r(handle, module, name, AF_UNSPEC);
puts("");
- test_gethostbyname2_r(handle, module, name, AF_LOCAL);
+ test_gethostbyname2_r(handle, module, name, AF_UNIX);
puts("");
test_gethostbyname_r(handle, module, name);