| 1545 | /////////////////////////////////////////////////////////////////////////////// |
| 1546 | |
| 1547 | void fatalError(const char * errorStr) |
| 1548 | { |
| 1549 | if (idCount == 0) |
| 1550 | { |
| 1551 | fprintf(stderr, "%s", errorStr); |
| 1552 | } |
| 1553 | else |
| 1554 | { |
| 1555 | fprintf(stderr, "%s", errorStr); |
| 1556 | fprintf(stderr, "samblaster: Exiting early, the following stats are for processing preceeding the error\n"); |
| 1557 | printRunStats(state); |
| 1558 | } |
| 1559 | fprintf(stderr,"samblaster: Premature exit (return code 1).\n"); |
| 1560 | exit(1); |
| 1561 | } |
| 1562 | |
| 1563 | void fsError(const char * filename) |
| 1564 | { |
no test coverage detected