mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-01 07:06:05 +03:00
Correct Lock() parameter
This commit is contained in:
parent
f58a2580e0
commit
49fd5ea238
@ -195,7 +195,7 @@ static nserror amiga_path_to_nsurl(const char *path, struct nsurl **url_out)
|
||||
BPTR lock = 0;
|
||||
nserror ret;
|
||||
|
||||
if(lock = Lock(path, MODE_OLDFILE))
|
||||
if(lock = Lock(path, SHARED_LOCK))
|
||||
{
|
||||
DevNameFromLock(lock, newpath, sizeof newpath, DN_FULLPATH);
|
||||
UnLock(lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user