summaryrefslogtreecommitdiff
path: root/sys/src/9/port/log.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@centraldogma>2011-08-11 04:25:51 +0200
committercinap_lenrek <cinap_lenrek@centraldogma>2011-08-11 04:25:51 +0200
commit4ec0e921e5fb0ff51f74840968644c66e1e4c595 (patch)
tree133fd00f52f3c7c44c3820f9e25d426b48482c89 /sys/src/9/port/log.c
parentc2212865791d11a38c9e65654fd2f3feff840d3b (diff)
eqlock(): use eqlock when interruption is possible
Diffstat (limited to 'sys/src/9/port/log.c')
-rw-r--r--sys/src/9/port/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/log.c b/sys/src/9/port/log.c
index 34edda696..9ff1b9342 100644
--- a/sys/src/9/port/log.c
+++ b/sys/src/9/port/log.c
@@ -57,7 +57,7 @@ logread(Log *alog, void *a, ulong, long n)
int i, d;
char *p, *rptr;
- qlock(&alog->readq);
+ eqlock(&alog->readq);
if(waserror()){
qunlock(&alog->readq);
nexterror();