summaryrefslogtreecommitdiff
path: root/src/recover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recover.c')
-rwxr-xr-xsrc/recover.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/recover.c b/src/recover.c
index 5e9e187..dc88877 100755
--- a/src/recover.c
+++ b/src/recover.c
@@ -11,7 +11,8 @@ slices_t *recover(char *src, char *dst, char *ddOpts, address_t beginSector, add
int res;
// Initialization : we want to try to recover the beginning of the whole zone
- slices=slicesNew();
+ //FIXME : already done in main
+ slices=slicesNewEmpty();
sliceToRead=sliceNew(beginSector, endSector, S_UNKNOWN, NULL);
if (sliceToRead==NULL) {
exit(1);//TODO