diff options
Diffstat (limited to 'archival/ar.c')
-rw-r--r-- | archival/ar.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/ar.c b/archival/ar.c index bce62f76d..05556c6cb 100644 --- a/archival/ar.c +++ b/archival/ar.c | |||
@@ -123,8 +123,7 @@ static int write_ar_archive(archive_handle_t *handle) | |||
123 | struct stat st; | 123 | struct stat st; |
124 | archive_handle_t *out_handle; | 124 | archive_handle_t *out_handle; |
125 | 125 | ||
126 | if (fstat(handle->src_fd, &st) == -1) | 126 | xfstat(handle->src_fd, &st, handle->ar__name); |
127 | bb_simple_perror_msg_and_die(handle->ar__name); | ||
128 | 127 | ||
129 | /* if archive exists, create a new handle for output. | 128 | /* if archive exists, create a new handle for output. |
130 | * we create it in place of the old one. | 129 | * we create it in place of the old one. |