summaryrefslogtreecommitdiff
path: root/lib/thread
diff options
context:
space:
mode:
authoririri <iri@konnichiwastevenspielbergde.su>2018-07-26 22:19:36 -0700
committerOri Bernstein <ori@eigenstate.org>2018-07-27 00:31:49 -0700
commitc0c0b95a971cc5da839e7453ac3c7c069b5f20cd (patch)
tree808fae6f62bfd6d178daa7e29dc2e69f2131c056 /lib/thread
parent4efbb423950483a2deec1384c732a5d34fe639c7 (diff)
downloadmc-c0c0b95a971cc5da839e7453ac3c7c069b5f20cd.tar.gz
Fix typo in plan 9 mksem.
Diffstat (limited to 'lib/thread')
-rw-r--r--lib/thread/sem+plan9.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread/sem+plan9.myr b/lib/thread/sem+plan9.myr
index d760d51..221a805 100644
--- a/lib/thread/sem+plan9.myr
+++ b/lib/thread/sem+plan9.myr
@@ -17,7 +17,7 @@ pkg thread =
;;
const mksem = {v
- std.assert((v : int32) > 0, "semaphore overflowed")
+ std.assert((v : int32) >= 0, "error: invalid initial semaphore value\n")
-> [._user = (v : int32), ._kern = 0]
}