Browse Source

add one minor error message to signal handler

jp9000 12 years ago
parent
commit
233694ad04
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libobs/callback/signal.c

+ 1 - 0
libobs/callback/signal.c

@@ -105,6 +105,7 @@ signal_handler_t signal_handler_create(void)
 	handler->first = NULL;
 
 	if (pthread_mutex_init(&handler->mutex, NULL) != 0) {
+		blog(LOG_ERROR, "Couldn't create signal handler!");
 		bfree(handler);
 		return NULL;
 	}