Fixed broken const variable.
This commit is contained in:
parent
f753c25ad3
commit
1c6a6923f8
@ -598,7 +598,7 @@ static BOOL isAutomountLocation(const char* path)
|
|||||||
size_t x;
|
size_t x;
|
||||||
char buffer[MAX_PATH];
|
char buffer[MAX_PATH];
|
||||||
uid_t uid = getuid();
|
uid_t uid = getuid();
|
||||||
const char uname[MAX_PATH] = { 0 };
|
char uname[MAX_PATH] = { 0 };
|
||||||
|
|
||||||
if (getlogin_r(uname, sizeof(uname)) != 0)
|
if (getlogin_r(uname, sizeof(uname)) != 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user