mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-13 09:24:55 +00:00
Replace all occurences of exit() in potential library code
by appropriate return values. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1301 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -247,7 +247,8 @@ static int linuxgpio_open(PROGRAMMER *pgm, char *port)
|
||||
{
|
||||
int r, i, pin;
|
||||
|
||||
bitbang_check_prerequisites(pgm);
|
||||
if (bitbang_check_prerequisites(pgm) < 0
|
||||
return -1;
|
||||
|
||||
|
||||
for (i=0; i<N_GPIO; i++)
|
||||
|
||||
Reference in New Issue
Block a user