diff options
author | rsc <devnull@localhost> | 2006-05-21 18:40:15 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-05-21 18:40:15 +0000 |
commit | 1b827fbc0c19f544dad91ea65422796d2a31dca1 (patch) | |
tree | d382d4b3547d0715ff6d87858f1e3f95f44aff7c /src/cmd/upas | |
parent | f1007ee0c6a2dfdc5512a1be3dada65cbc5d5391 (diff) | |
download | plan9port-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.c | 1 |
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; |