summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-04-11 14:48:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2018-04-11 14:48:44 +0200
commit26566702534823806492008da908a5db207843b4 (patch)
tree294398bd8999b3f2ea10d21c0b025954f56c2787
parentcdde95797ee04b258a7fd29fd4ebcb69f32da74b (diff)
PhotoRec: Using bgz extension instead of gz for bgziped filesdev
-rw-r--r--src/file_gz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_gz.c b/src/file_gz.c
index bacc414..27fe3de 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;
}