diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-09-29 19:01:25 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-09-29 19:01:25 +0100 |
commit | 49fd5ea238891a7efcd9c32fe2c9e6bc9c2ed180 (patch) | |
tree | 5f5129e8c093da2bf90492a6a0e52ae8f3fade94 | |
parent | f58a2580e0ea35d4b38f771f152215713fbd72b0 (diff) | |
download | netsurf-49fd5ea238891a7efcd9c32fe2c9e6bc9c2ed180.tar.gz netsurf-49fd5ea238891a7efcd9c32fe2c9e6bc9c2ed180.tar.bz2 |
Correct Lock() parameter
-rwxr-xr-x | amiga/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/misc.c b/amiga/misc.c index 7d126c906..7b42dc9a5 100755 --- a/amiga/misc.c +++ b/amiga/misc.c @@ -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); |