about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chat.c b/chat.c
index 3141052..f5004e7 100644
--- a/chat.c
+++ b/chat.c
@@ -201,8 +201,8 @@ static void sandboxLate(int irc) {
 	caph_cache_tzdata();
 	gmtime(&(time_t) { time(NULL) });
 
-	error = caph_enter();
-	if (error) err(EX_OSERR, "caph_enter");
+	error = cap_enter();
+	if (error) err(EX_OSERR, "cap_enter");
 }
 
 #else