Skip to content

Commit

Permalink
Change to EXIT_FAILURE - slightly more portable
Browse files Browse the repository at this point in the history
  • Loading branch information
allinurl committed Sep 27, 2010
1 parent cae0f7d commit 0c1e274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion error.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ error_handler (const char *func, char *file, int line, char *msg)
fprintf (stderr, "\nAn error has occurred");
fprintf (stderr, "\nError occured at: %s - %s - %d", file, func, line);
fprintf (stderr, "\nMessage: %s\n\n", msg);
abort ();
exit (EXIT_FAILURE);
}

0 comments on commit 0c1e274

Please sign in to comment.