]> granicus.if.org Git - gc/commit
Fix error code in abort message if sem_wait failed in start_world (NetBSD)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 27 Dec 2017 08:09:48 +0000 (11:09 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 16 Jan 2018 21:34:56 +0000 (00:34 +0300)
commit8f42658f29687c5e45296c06d259de132f0c8fe5
tree9f30727899de59315b9e271b64246b56654b6f85
parent72456d094bb68b0fe9e3c01bef453405f81806f8
Fix error code in abort message if sem_wait failed in start_world (NetBSD)

* pthread_stop_world.c [GC_NETBSD_THREADS_WORKAROUND] (GC_start_world):
Print errno instead of the value returned by sem_wait if the latter has
failed; remove "code" local variable.
pthread_stop_world.c