From 26566702534823806492008da908a5db207843b4 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Wed, 11 Apr 2018 14:48:44 +0200 Subject: [PATCH] PhotoRec: Using bgz extension instead of gz for bgziped files --- src/file_gz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/file_gz.c b/src/file_gz.c index bacc4141..27fe3def 100644 --- a/src/file_gz.c +++ b/src/file_gz.c @@ -104,7 +104,7 @@ static int header_check_bgzf(const unsigned char *buffer, const unsigned char *b file_recovery_new->extension="csi"; return 1; } - file_recovery_new->extension=file_hint_gz.extension; + file_recovery_new->extension="bgz"; return 1; }