Call to abort() in die() causes many tools to assume that the cbmem util crashed even in case of just incorrect parameters. Changing it to exit(1) allows for easier error handling by just getting the exit code instead of having to handle SIGABRT. Change-Id: Ic59e3479dcbe090a43878bf773409781729146c8 Signed-off-by: Jakub Czapiga <czapiga@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88981 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Julius Werner <jwerner@chromium.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| cbmem.c | ||
| cbmem_drv.c | ||
| cbmem_util.h | ||
| description.md | ||
| devmem_drv.c | ||
| Makefile | ||
| sysfs_drv.c | ||