diff options
author | Martin Roth <martinroth@chromium.org> | 2016-11-08 11:22:12 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-10 00:26:45 +0100 |
commit | 31d95a2eb2cae1667ab89200d7c2887c3ef8076a (patch) | |
tree | beb687b0373e72592c85d1ade49cbb68c821b6d4 /util/msrtool/geodegx2.c | |
parent | 2fe70b69c07b77dd83e261fc98eea97d078c1097 (diff) |
util/amdfwtool: unify return values, verify the file open
- Return an error if the specified file could not be opened. To do this
cleanly, the return value was added.
- Since there's now a unified return value, use it where it makes sense.
- Don't return an error from --help. If you've asked for usage, it's
not an error.
Change-Id: I7c712d1e1927c2d4957b044b87ad26475b7a0e3b
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://review.coreboot.org/17324
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'util/msrtool/geodegx2.c')
0 files changed, 0 insertions, 0 deletions