aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/delta/delta_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/delta/delta_common.c')
-rw-r--r--src/liblzma/delta/delta_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/delta/delta_common.c b/src/liblzma/delta/delta_common.c
index d40e0c7f..86ef33be 100644
--- a/src/liblzma/delta/delta_common.c
+++ b/src/liblzma/delta/delta_common.c
@@ -54,7 +54,7 @@ lzma_delta_coder_init(lzma_next_coder *next, lzma_allocator *allocator,
->distance;
if (next->coder->distance < LZMA_DELTA_DISTANCE_MIN
|| next->coder->distance > LZMA_DELTA_DISTANCE_MAX)
- return LZMA_HEADER_ERROR;
+ return LZMA_OPTIONS_ERROR;
// Initialize the rest of the variables.
next->coder->pos = 0;