1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-06-30 21:52:36 +02:00

Remove exit calls from print_supported_chips

Propagate the error code using return values instead, but let cli_classic.c
still decide the ultimate return value of the process.
Also, remove setting the ret value again after print_supported_wiki() - 
success is the default.

Corresponding to flashrom svn r1614.

Signed-off-by: Niklas Söderlund <niso@kth.se>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
This commit is contained in:
Niklas Söderlund
2012-10-23 13:06:46 +00:00
committed by Stefan Tauner
parent d7d423bbc1
commit ede2fa4d1e
3 changed files with 12 additions and 9 deletions

View File

@ -214,7 +214,7 @@ void chip_readn(const struct flashctx *flash, uint8_t *buf, const chipaddr addr,
/* print.c */
char *flashbuses_to_text(enum chipbustype bustype);
void print_supported(void);
int print_supported(void);
void print_supported_wiki(void);
/* flashrom.c */