diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-05 21:56:01 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-06-05 21:56:01 +0200 |
commit | 1b51d46717d733d369e71237cb12b393fc5a073a (patch) | |
tree | c9a0d498a4453cfc2179a4d0fdbc54faa2865d83 /sys/src/9/port/allocb.c | |
parent | f815f7273a71ddfcf12289250af21fe4403f6f97 (diff) | |
parent | 91614f582fb1504ae3be2d57c079f24b60d71613 (diff) |
merge
Diffstat (limited to 'sys/src/9/port/allocb.c')
-rw-r--r-- | sys/src/9/port/allocb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/port/allocb.c b/sys/src/9/port/allocb.c index 60d538325..3466840f2 100644 --- a/sys/src/9/port/allocb.c +++ b/sys/src/9/port/allocb.c @@ -65,7 +65,7 @@ allocb(int size) if(up == nil) panic("allocb without up: %#p", getcallerpc(&size)); while((b = _allocb(size)) == nil){ - if(up->nlocks.ref || m->ilockdepth || !islo()){ + if(up->nlocks || m->ilockdepth || !islo()){ xsummary(); mallocsummary(); panic("allocb: no memory for %d bytes", size); |