error code changed to LOCK_DESTROY

This commit is contained in:
Christian Thaeter 2009-01-26 07:28:07 +01:00
parent cf664ca970
commit ca0250c018

View file

@ -64,7 +64,7 @@ lumiera_reccondition_destroy (LumieraReccondition self, struct nobug_flag* flag)
NOBUG_RESOURCE_FORGET_RAW (flag, self->rh); NOBUG_RESOURCE_FORGET_RAW (flag, self->rh);
if (pthread_mutex_destroy (&self->mutex)) if (pthread_mutex_destroy (&self->mutex))
LUMIERA_DIE (MUTEX_DESTROY); LUMIERA_DIE (LOCK_DESTROY);
if (pthread_cond_destroy (&self->cond)) if (pthread_cond_destroy (&self->cond))
LUMIERA_DIE (CONDITION_DESTROY); LUMIERA_DIE (CONDITION_DESTROY);