summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/phrecn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/phrecn.c b/src/phrecn.c
index 9057632..6d8f82f 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -253,10 +253,10 @@ int photorec(struct ph_param *params, const struct ph_options *options, alloc_da
params->status=STATUS_EXT2_ON_BF;
params->cmd_run+=17;
}
- else if(strncmp(params->cmd_run,"status=ext2_on_save_everything",33)==0)
+ else if(strncmp(params->cmd_run,"status=ext2_on_save_everything",30)==0)
{
params->status=STATUS_EXT2_ON_SAVE_EVERYTHING;
- params->cmd_run+=33;
+ params->cmd_run+=30;
}
else if(strncmp(params->cmd_run,"status=ext2_on",14)==0)
{
@@ -268,10 +268,10 @@ int photorec(struct ph_param *params, const struct ph_options *options, alloc_da
params->status=STATUS_EXT2_OFF_BF;
params->cmd_run+=18;
}
- else if(strncmp(params->cmd_run,"status=ext2_off_save_everything",34)==0)
+ else if(strncmp(params->cmd_run,"status=ext2_off_save_everything",31)==0)
{
params->status=STATUS_EXT2_OFF_SAVE_EVERYTHING;
- params->cmd_run+=34;
+ params->cmd_run+=31;
}
else if(strncmp(params->cmd_run,"status=ext2_off",15)==0)
{