summaryrefslogtreecommitdiff
path: root/src/storage/plugins/NfsStorage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/plugins/NfsStorage.cxx')
-rw-r--r--src/storage/plugins/NfsStorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/plugins/NfsStorage.cxx b/src/storage/plugins/NfsStorage.cxx
index a116d5591..0d73c0235 100644
--- a/src/storage/plugins/NfsStorage.cxx
+++ b/src/storage/plugins/NfsStorage.cxx
@@ -246,7 +246,7 @@ NfsStorage::MapUTF8(const char *uri_utf8) const noexcept
const char *
NfsStorage::MapToRelativeUTF8(const char *uri_utf8) const noexcept
{
- return PathTraitsUTF8::Relative(base.c_str(), uri_utf8);
+ return PathTraitsUTF8::Relative(base, uri_utf8);
}
static void