summaryrefslogtreecommitdiffstats
path: root/src/pdiskseln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdiskseln.c')
-rw-r--r--src/pdiskseln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pdiskseln.c b/src/pdiskseln.c
index e462996..c00d65a 100644
--- a/src/pdiskseln.c
+++ b/src/pdiskseln.c
@@ -280,8 +280,6 @@ int do_curses_photorec(struct ph_param *params, struct ph_options *options, cons
{
#ifdef HAVE_NCURSES
{
- va_list ap;
- int res;
WINDOW *window=newwin(LINES, COLS, 0, 0); /* full screen */
aff_copy(window);
mvwaddstr(window,5,0,"Resuming the recovery. Please wait...");
@@ -301,6 +299,7 @@ int do_curses_photorec(struct ph_param *params, struct ph_options *options, cons
free(saved_device);
free(saved_cmd);
free_list_search_space(&list_search_space);
+ rename("photorec.ses", "photorec.se2");
}
}
if(params->cmd_device!=NULL && params->cmd_run!=NULL)