aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/asmcode.c2
-rw-r--r--src/extract.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/asmcode.c b/src/asmcode.c
index 9cdf2f8..1e31c6c 100644
--- a/src/asmcode.c
+++ b/src/asmcode.c
@@ -210,7 +210,7 @@ L770F:
jmp(L779B);
/* ---------------------------------------------------------------------------- */
L7712:
- truncated_err(); /* exits! */
+ truncated_err(); /* does not exit */
/* ---------------------------------------------------------------------------- */
L771C:
tay();
diff --git a/src/extract.c b/src/extract.c
index 98523db..ff8d780 100644
--- a/src/extract.c
+++ b/src/extract.c
@@ -161,8 +161,7 @@ void chksum_err(void) {
}
void truncated_err(void){
- fprintf(stderr, "%s: fatal: compressed data is truncated, EOF before end marker\n", self);
- exit(1);
+ fprintf(stderr, "%s: warning: compressed data is truncated, EOF before end marker\n", self);
}
void stack_underrun(void){