New upstream version 0.79.6
This commit is contained in:
10
rs03-fix.c
10
rs03-fix.c
@@ -1,5 +1,5 @@
|
||||
/* dvdisaster: Additional error correction for optical media.
|
||||
* Copyright (C) 2004-2015 Carsten Gnoerlich.
|
||||
* Copyright (C) 2004-2017 Carsten Gnoerlich.
|
||||
*
|
||||
* Email: carsten@dvdisaster.org -or- cgnoerlich@fsfe.org
|
||||
* Project homepage: http://www.dvdisaster.org
|
||||
@@ -834,10 +834,10 @@ void RS03Fix(Image *image)
|
||||
Stop(_("Failed seeking to sector %lld in ecc file [%s]: %s"),
|
||||
sec, "FW", strerror(errno));
|
||||
|
||||
n = LargeWrite(image->eccFile, cache_offset+fc->imgBlock[i], 2048);
|
||||
if(n != 2048)
|
||||
Stop(_("could not write ecc file sector %lld:\n%s"),
|
||||
sec, strerror(errno));
|
||||
n = LargeWrite(image->eccFile, cache_offset+fc->imgBlock[i], 2048);
|
||||
if(n != 2048)
|
||||
Stop(_("could not write ecc file sector %lld:\n%s"),
|
||||
sec, strerror(errno));
|
||||
}
|
||||
}
|
||||
PrintCLI("\n");
|
||||
|
||||
Reference in New Issue
Block a user