diff --git a/rpmio/rpmio.c b/rpmio/rpmio.c index 9f4a60aa15..2b8ff60318 100644 --- a/rpmio/rpmio.c +++ b/rpmio/rpmio.c @@ -798,6 +798,7 @@ static LZFILE *lzopen_internal(const char *mode, int fd, int xz) * should've processed * */ while (isdigit(*++mode)); + --mode; } #ifdef HAVE_LZMA_MT else