]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Exit with an error if a linker hints file can't be found.
authorjhb <jhb@FreeBSD.org>
Thu, 14 Jun 2018 22:31:30 +0000 (22:31 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 14 Jun 2018 22:31:30 +0000 (22:31 +0000)
commitd2f524295466567fb7ebfba60197f81bf220934b
treebfb1c693184f17c6e4867f697826af8492f457dc
parent4dac5130752b792bb68faca16bdbcd1eacb2bcb0
Exit with an error if a linker hints file can't be found.

Continuing with a NULL hints variable just triggers a segfault later on.
The other error cases in this function all exit for an error rather than
warning.

Reviewed by: imp
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D15579
sbin/devmatch/devmatch.c