summaryrefslogtreecommitdiffstats
path: root/src/testdisk.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/testdisk.c
parent01fc5101b70cba8e095f36809488b11e361a8412 (diff)
Remove "Allow partial last cylinder" option
Diffstat (limited to 'src/testdisk.c')
-rw-r--r--src/testdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdisk.c b/src/testdisk.c
index 7acf8d9..c5feca2 100644
--- a/src/testdisk.c
+++ b/src/testdisk.c
@@ -270,7 +270,7 @@ int main( int argc, char **argv )
}
#endif
if(safe==0)
- hd_update_all_geometry(list_disk,0,verbose);
+ hd_update_all_geometry(list_disk, verbose);
for(element_disk=list_disk;element_disk!=NULL;element_disk=element_disk->next)
{
printf("%s, sector size=%u\n",element_disk->disk->description(element_disk->disk),element_disk->disk->sector_size);
@@ -379,7 +379,7 @@ int main( int argc, char **argv )
wrefresh(stdscr);
#endif
if(safe==0)
- hd_update_all_geometry(list_disk,0,verbose);
+ hd_update_all_geometry(list_disk, verbose);
/* save disk parameters to rapport */
log_info("Hard disk list\n");
for(element_disk=list_disk;element_disk!=NULL;element_disk=element_disk->next)