diff options
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/file.cpp b/common/file.cpp index 51736ccd67..6184004b35 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -84,7 +84,7 @@ bool File::open(const FSNode &node) { return false; } - SeekableReadStream *stream = node.openForReading(); + SeekableReadStream *stream = node.createReadStream(); return open(stream, node.getPath()); } @@ -192,7 +192,7 @@ bool DumpFile::open(const FSNode &node) { return false; } - _handle = node.openForWriting(); + _handle = node.createWriteStream(); if (_handle == NULL) debug(2, "File %s not found", node.getName().c_str()); |