summaryrefslogtreecommitdiffstats
path: root/src/lib9/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/lock.c')
-rw-r--r--src/lib9/lock.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib9/lock.c b/src/lib9/lock.c
index 2da73626..5d6f2f3e 100644
--- a/src/lib9/lock.c
+++ b/src/lib9/lock.c
@@ -8,12 +8,9 @@ _xtas(void *v)
{
int x;
-_ntas++;
+ _ntas++;
x = _tas(v);
- if(x == 0 || x == 0xCAFEBABE)
- return x;
- fprint(2, "%d: tas %p got %ux\n", getpid(), v, x);
- abort();
+ return x;
}
int