diff options
Diffstat (limited to 'desktop/source/deployment/misc/lockfile.cxx')
-rw-r--r-- | desktop/source/deployment/misc/lockfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/misc/lockfile.cxx b/desktop/source/deployment/misc/lockfile.cxx index 11530d0be892..0544f434bd14 100644 --- a/desktop/source/deployment/misc/lockfile.cxx +++ b/desktop/source/deployment/misc/lockfile.cxx @@ -55,7 +55,7 @@ static OString impl_getHostname() */ DWORD sz = MAX_COMPUTERNAME_LENGTH + 1; auto szHost = std::unique_ptr<char[]>(new char[sz]); - if (GetComputerName(szHost.get(), &sz)) + if (GetComputerNameA(szHost.get(), &sz)) aHost = OString(szHost.get()); else aHost = OString("UNKNOWN"); |