aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2006-05-21 18:40:15 +0000
committerrsc <devnull@localhost>2006-05-21 18:40:15 +0000
commit1b827fbc0c19f544dad91ea65422796d2a31dca1 (patch)
treed382d4b3547d0715ff6d87858f1e3f95f44aff7c /src/cmd/upas
parentf1007ee0c6a2dfdc5512a1be3dada65cbc5d5391 (diff)
downloadplan9port-1b827fbc0c19f544dad91ea65422796d2a31dca1.tar.gz
plan9port-1b827fbc0c19f544dad91ea65422796d2a31dca1.tar.bz2
plan9port-1b827fbc0c19f544dad91ea65422796d2a31dca1.zip
better locking
Diffstat (limited to 'src/cmd/upas')
-rw-r--r--src/cmd/upas/common/libsys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/upas/common/libsys.c b/src/cmd/upas/common/libsys.c
index ced00033..8e55fc4d 100644
--- a/src/cmd/upas/common/libsys.c
+++ b/src/cmd/upas/common/libsys.c
@@ -278,6 +278,7 @@ sysopen(char *path, char *mode, ulong perm)
break;
case 'l':
sysperm |= DMEXCL;
+ sysmode |= OLOCK;
break;
case 'a':
sysperm |= DMAPPEND;