Fixed broken const variable.

This commit is contained in:
akallabeth 2020-06-02 11:33:48 +02:00 committed by Armin Novak
parent f753c25ad3
commit 1c6a6923f8

View File

@ -598,7 +598,7 @@ static BOOL isAutomountLocation(const char* path)
size_t x;
char buffer[MAX_PATH];
uid_t uid = getuid();
const char uname[MAX_PATH] = { 0 };
char uname[MAX_PATH] = { 0 };
if (getlogin_r(uname, sizeof(uname)) != 0)
return FALSE;