diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-04 15:27:29 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-04 15:27:29 +0100 |
commit | a61ab37b67a1f860554989b6ff2491127259955f (patch) | |
tree | 887ec162ae70c98433400b3f72998dc385f11884 /util/nvmutil/nvmutil.c | |
parent | e8889fd107638923bdd6d8929d45a340d02e8ed7 (diff) |
util/spkmodem-recv: always set errno on err()
This version of spkmodem uses err() to indicate an error,
and the value of errno is used as exit status at all times,
even when it is zero.
When calling err(), it is intended that errno always be
non-zero, so modify the code accordingly.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/nvmutil.c')
0 files changed, 0 insertions, 0 deletions