summaryrefslogtreecommitdiffstats
path: root/src/phmain.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-12-08 09:00:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-12-08 09:00:52 +0100
commit7943d695f9470e39fd2ff75c83941ec6f47f577d (patch)
tree90cb489b3ff5a00f09addb2b7a54f2e8c54203b5 /src/phmain.c
parent01fc5101b70cba8e095f36809488b11e361a8412 (diff)
Remove "Allow partial last cylinder" option
Diffstat (limited to 'src/phmain.c')
-rw-r--r--src/phmain.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/phmain.c b/src/phmain.c
index e8d8665..9cb9dc4 100644
--- a/src/phmain.c
+++ b/src/phmain.c
@@ -113,7 +113,6 @@ int main( int argc, char **argv )
FILE *log_handle=NULL;
struct ph_options options={
.paranoid=1,
- .allow_partial_last_cylinder=0,
.keep_corrupted_file=0,
.mode_ext2=0,
.expert=0,
@@ -327,7 +326,7 @@ int main( int argc, char **argv )
/* Scan for available device only if no device or image has been supplied in parameter */
if(list_disk==NULL)
list_disk=hd_parse(list_disk, options.verbose, arch, testdisk_mode);
- hd_update_all_geometry(list_disk, 0, options.verbose);
+ hd_update_all_geometry(list_disk, options.verbose);
/* Activate the cache, even if photorec has its own */
for(element_disk=list_disk;element_disk!=NULL;element_disk=element_disk->next)
{