From 1e635e87e3e2e1b5cdf2cbfe9a2a2900c60810a6 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Sun, 9 Jul 2023 18:50:15 +0100 Subject: [PATCH] ldconfig: Use __PATH_ELF_HINTS("32") over _PATH_ELF32_HINTS This will allow the latter to be removed, reducing the boilerplate needed for a new libcompat. Reviewed by: kib, brooks, jhb Differential Revision: https://reviews.freebsd.org/D40933 --- sbin/ldconfig/ldconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/ldconfig/ldconfig.c b/sbin/ldconfig/ldconfig.c index 47e26ad8367c..2f5cdbd6505e 100644 --- a/sbin/ldconfig/ldconfig.c +++ b/sbin/ldconfig/ldconfig.c @@ -77,7 +77,7 @@ main(int argc, char **argv) } if (is_32) - hints_file = _PATH_ELF32_HINTS; + hints_file = __PATH_ELF_HINTS("32"); else hints_file = _PATH_ELF_HINTS; while((c = getopt(argc, argv, "Rf:imrsv")) != -1) {