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
This commit is contained in:
Jessica Clarke 2023-07-09 18:50:15 +01:00
parent 1840dc06e1
commit 1e635e87e3

View file

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