From 00f5f3f1f27cd8dfa4d9f0d8d69b2f56a5ca8255 Mon Sep 17 00:00:00 2001 From: Michael El Omar Date: Sun, 21 Sep 2025 16:38:01 +0200 Subject: [PATCH] [DEBUG] use POMP_LOG macros that fallback on printf if BUILD_LIBULOG is not defined --- src/pomp_watchdog.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pomp_watchdog.c b/src/pomp_watchdog.c index 600ee50..8db0e30 100644 --- a/src/pomp_watchdog.c +++ b/src/pomp_watchdog.c @@ -75,15 +75,15 @@ static void *pomp_watchdog_thread_cb(void *userdata) uint32_t counter = 0; #if defined(__APPLE__) -# if !TARGET_OS_IPHONE + #if !TARGET_OS_IPHONE res = pthread_setname_np("pomp_watchdog"); if (res != 0) - ULOG_ERRNO("pthread_setname_np", res); -# endif + POMP_LOG_ERRNO("pthread_setname_np"); + #endif #else res = pthread_setname_np(pthread_self(), "pomp_watchdog"); if (res != 0) - ULOG_ERRNO("pthread_setname_np", res); + POMP_LOG_ERRNO("pthread_setname_np"); #endif pthread_mutex_lock(&watchdog->mutex);