summaryrefslogtreecommitdiffstats
path: root/src/sessionp.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-01-05 14:11:20 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-01-05 14:11:20 +0100
commitdf353cfc2c2e9d7015e0973d60e2405624a25e39 (patch)
tree360cd031efbc6b31d9781a7bff481953cd28e232 /src/sessionp.c
parentec38e786ddb80ae0aac6d29f59f6244b5bf74a11 (diff)
Add missing comma in generated photorec.ses
Diffstat (limited to 'src/sessionp.c')
-rw-r--r--src/sessionp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sessionp.c b/src/sessionp.c
index fb9b0f9..2902429 100644
--- a/src/sessionp.c
+++ b/src/sessionp.c
@@ -182,7 +182,7 @@ int session_save(alloc_data_t *list_free_space, struct ph_param *params, const
{
log_trace("session_save\n");
}
- fprintf(f_session,"#%u\n%s %s,%u",
+ fprintf(f_session,"#%u\n%s %s,%u,",
(unsigned int)time(NULL), params->disk->device, params->disk->arch->part_name_option, params->partition->order);
if(params->blocksize>0)
fprintf(f_session,"blocksize,%u,", params->blocksize);