diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-08-11 04:25:51 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-08-11 04:25:51 +0200 |
commit | 4ec0e921e5fb0ff51f74840968644c66e1e4c595 (patch) | |
tree | 133fd00f52f3c7c44c3820f9e25d426b48482c89 /sys/src/9/port/log.c | |
parent | c2212865791d11a38c9e65654fd2f3feff840d3b (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.c | 2 |
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(); |