diff options
Diffstat (limited to 'src/input/plugins/SmbclientInputPlugin.cxx')
-rw-r--r-- | src/input/plugins/SmbclientInputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/plugins/SmbclientInputPlugin.cxx b/src/input/plugins/SmbclientInputPlugin.cxx index 641a15c8f..30d4d5887 100644 --- a/src/input/plugins/SmbclientInputPlugin.cxx +++ b/src/input/plugins/SmbclientInputPlugin.cxx @@ -90,7 +90,7 @@ input_smbclient_open(const char *uri, if (!StringStartsWith(uri, "smb://")) return nullptr; - const ScopeLock protect(smbclient_mutex); + const std::lock_guard<Mutex> protect(smbclient_mutex); SMBCCTX *ctx = smbc_new_context(); if (ctx == nullptr) |