From d3a25f0af72e5998681edf41325cde0e7c7705f0 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 24 Mar 2026 12:41:41 +0000 Subject: [PATCH] lib: c: remove errno log messages --- lib/libc/core/errno/errno.c | 2 -- lib/libc/pthread/thread/errno.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/lib/libc/core/errno/errno.c b/lib/libc/core/errno/errno.c index 1da6d85..1a1f0d1 100644 --- a/lib/libc/core/errno/errno.c +++ b/lib/libc/core/errno/errno.c @@ -1,12 +1,10 @@ #include -#include #include static int __errno = 32; int __attribute__((weak)) * __errno_location(void) { - kern_log("using builtin errno"); return &__errno; } diff --git a/lib/libc/pthread/thread/errno.c b/lib/libc/pthread/thread/errno.c index c1d32c5..981b7ee 100644 --- a/lib/libc/pthread/thread/errno.c +++ b/lib/libc/pthread/thread/errno.c @@ -1,12 +1,9 @@ #include "pthread.h" -#include #include -#include int *__errno_location(void) { struct __pthread *self = pthread_self(); - kern_logf("using pthread errno %p", &self->thr_errno); return &self->thr_errno; }