From 3a421a58ad4267517677108a06a63dc81c303b0d Mon Sep 17 00:00:00 2001 From: Matheus Date: Tue, 15 Sep 2026 15:06:16 -0300 Subject: [PATCH] futex: style --- kernel-src/sys/syscalls/futex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-src/sys/syscalls/futex.c b/kernel-src/sys/syscalls/futex.c index f32b8132..7825bf24 100644 --- a/kernel-src/sys/syscalls/futex.c +++ b/kernel-src/sys/syscalls/futex.c @@ -26,7 +26,7 @@ typedef struct { static futex_bucket_t buckets[BUCKET_COUNT]; static futex_bucket_t *get_futex_bucket(uintptr_t key) { - return &buckets[(key / 16) % 256]; // TODO proper hash + return &buckets[(key / 16) % BUCKET_COUNT]; // TODO proper hash } // expects bucket mutex held