]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kboot: kbootfdt: fix error handling
authorWarner Losh <imp@FreeBSD.org>
Mon, 11 Mar 2024 20:15:44 +0000 (14:15 -0600)
committerWarner Losh <imp@FreeBSD.org>
Mon, 11 Mar 2024 21:21:52 +0000 (15:21 -0600)
commit462af7676b3ee8a8bd9ee9b55a35c0cf815a351f
treefd9c95de6874ce31fac298e5fe5fd2a4747c9c74
parentd75524b3fe21752b233f66ae8e9d6450d507f75c
kboot: kbootfdt: fix error handling

If we are able to open /sys/firmware/fdt, but aren't able to read it,
fall back to /proc/device-tree. Remove comment that's not really true,
it turns out.

Sponsored by: Netflix
stand/kboot/kboot/kbootfdt.c