diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2011-03-13 21:43:30 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2011-03-13 21:43:30 +0000 |
commit | c4cf066956da0754d3383e60a6ff9f4e7abc9bca (patch) | |
tree | 3746cac035c1677886b65b0cb9543563082d612d /src/recover.c | |
parent | 312f5b5917befaba8489288623fed4bcc0912f8d (diff) | |
download | 2011-ddhardrescue-c4cf066956da0754d3383e60a6ff9f4e7abc9bca.tar.gz 2011-ddhardrescue-c4cf066956da0754d3383e60a6ff9f4e7abc9bca.tar.bz2 2011-ddhardrescue-c4cf066956da0754d3383e60a6ff9f4e7abc9bca.zip |
Début du codage de la partie ncurses.
Suppression des printf de debug qui pollue l'écran.
git-svn-id: file:///var/svn/2011-ddhardrescue/trunk@13 d3078510-dda0-49f1-841c-895ef4b7ec81
Diffstat (limited to 'src/recover.c')
-rw-r--r-- | src/recover.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/recover.c b/src/recover.c index b4f0da7..9b1719b 100644 --- a/src/recover.c +++ b/src/recover.c @@ -76,7 +76,7 @@ void recover(slices_evt_t *slicesEvt, char *src, char *dst, char *ddOpts) { int tryRecoverUntilError(slice_t *sliceToRead, address_t *firstError, char *src, char *dst, char*ddOpts) { //TODO : implement realy that - char ddinvocation[256]; +// char ddinvocation[256]; int res; address_t seek, count; @@ -84,8 +84,8 @@ int tryRecoverUntilError(slice_t *sliceToRead, address_t *firstError, char *src, seek=sliceToRead->begin; count=sliceToRead->end - seek + 1; - res=snprintf(ddinvocation, 255, "dd %s %s %s seek=%lld skip=%lld count=%lld", src, dst, ddOpts, seek, seek, count); - puts(ddinvocation); +// res=snprintf(ddinvocation, 255, "dd %s %s %s seek=%lld skip=%lld count=%lld", src, dst, ddOpts, seek, seek, count); +//TODO : listener to put that info on the interface puts(ddinvocation); /* // Simulate that we have systematically a read error at first sector |