The branch main has been updated by jrtc27:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1e635e87e3e2e1b5cdf2cbfe9a2a2900c60810a6

commit 1e635e87e3e2e1b5cdf2cbfe9a2a2900c60810a6
Author:     Jessica Clarke <[email protected]>
AuthorDate: 2023-07-09 17:50:15 +0000
Commit:     Jessica Clarke <[email protected]>
CommitDate: 2023-07-09 17:50:15 +0000

    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) {

Reply via email to