diff --git a/libc3/facts.c b/libc3/facts.c
index 65fb3d7..fee9bff 100644
--- a/libc3/facts.c
+++ b/libc3/facts.c
@@ -366,7 +366,7 @@ void facts_lock_unlock_r (s_facts *facts)
{
assert(facts);
if (pthread_rwlock_unlock(&facts->rwlock))
- errx(1, "facts_lock_unlock_r: pthread_rwlock_unlock");
+ err(1, "facts_lock_unlock_r: pthread_rwlock_unlock");
}
void facts_lock_unlock_w (s_facts *facts)
@@ -376,7 +376,7 @@ void facts_lock_unlock_w (s_facts *facts)
if (! facts->rwlock_count) {
facts->rwlock_thread = NULL;
if (pthread_rwlock_unlock(&facts->rwlock))
- errx(1, "facts_lock_unlock_w: pthread_rwlock_unlock");
+ err(1, "facts_lock_unlock_w: pthread_rwlock_unlock");
}
}