diff options
author | 2021-03-26 23:29:21 +0000 | |
---|---|---|
committer | 2021-03-26 23:29:21 +0000 | |
commit | fcf3d43cc0b90d9e05a8e1269932955a1857612c (patch) | |
tree | 27c49bc8e78501ceb6e103db5a4a6cebee0b70ed /lib/libssl/ssl_both.c | |
parent | Fix errno, merge ioctl cases (diff) | |
download | wireguard-openbsd-fcf3d43cc0b90d9e05a8e1269932955a1857612c.tar.xz wireguard-openbsd-fcf3d43cc0b90d9e05a8e1269932955a1857612c.zip |
Fix "mach dtb" return code to avoid bogus boot
Bootloader command functions must return zero in case of failure,
returning 1 tells the bootloader to boot the currently set kernel iamge.
"machine dtb" is is the wrong way around so using it triggers a boot.
Fix this and print a brief usage (like other commands such as "hexdump" do)
while here.
Feedback OK patrick
Diffstat (limited to 'lib/libssl/ssl_both.c')
0 files changed, 0 insertions, 0 deletions