diff options
author | kn <kn@cvs.openbsd.org> | 2021-03-26 23:29:22 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2021-03-26 23:29:22 +0000 |
commit | 50bf020468f4a5684255d592558317d4b1f78eed (patch) | |
tree | 883975266b10699dd24194cdb87a5c1fafda1383 /bin | |
parent | 04245959daf51d6eb67fe0432e7ca23645de9948 (diff) |
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 'bin')
0 files changed, 0 insertions, 0 deletions