aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/util.c b/src/util.c
index 6c483f8..39c9813 100644
--- a/src/util.c
+++ b/src/util.c
@@ -209,10 +209,7 @@ tape_fill_input_buffer (int in_des, int num_bytes)
if (input_size < 0)
error (PAXEXIT_FAILURE, errno, _("read error"));
if (input_size == 0)
- {
- error (0, 0, _("premature end of file"));
- exit (PAXEXIT_FAILURE);
- }
+ error (PAXEXIT_FAILURE, 0, _("premature end of file"));
input_bytes += input_size;
}

Return to:

Send suggestions and report system problems to the System administrator.