aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/fastos/unix_file.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/vespa/fastos/unix_file.cpp')
-rw-r--r--vespalib/src/vespa/fastos/unix_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/fastos/unix_file.cpp b/vespalib/src/vespa/fastos/unix_file.cpp
index 952d9820306..4d0245cd079 100644
--- a/vespalib/src/vespa/fastos/unix_file.cpp
+++ b/vespalib/src/vespa/fastos/unix_file.cpp
@@ -208,7 +208,7 @@ FastOS_UNIX_File::Open(unsigned int openFlags, const char *filename)
assert(_filedes == -1);
if (filename != nullptr) {
- SetFileName(filename);
+ _filename = filename;
}
unsigned int accessFlags = CalcAccessFlags(openFlags);