summaryrefslogtreecommitdiff
path: root/src/AbstractDiskWriter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/AbstractDiskWriter.cc')
-rw-r--r--src/AbstractDiskWriter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AbstractDiskWriter.cc b/src/AbstractDiskWriter.cc
index e343857a..39b989f4 100644
--- a/src/AbstractDiskWriter.cc
+++ b/src/AbstractDiskWriter.cc
@@ -71,7 +71,7 @@ void AbstractDiskWriter::openFile(uint64_t totalLength)
try {
openExistingFile(totalLength);
} catch(RecoverableException& e) {
- if(e.getErrno() == ENOENT) {
+ if(e.getErrNum() == ENOENT) {
initAndOpenFile(totalLength);
} else {
throw;