diff --git a/Kernel/Syscalls/thread.cpp b/Kernel/Syscalls/thread.cpp index 31fe733f43a..5f975c8ffd6 100644 --- a/Kernel/Syscalls/thread.cpp +++ b/Kernel/Syscalls/thread.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2020, Andreas Kling + * Copyright (c) 2018-2021, Andreas Kling * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -150,7 +150,7 @@ int Process::sys$join_thread(pid_t tid, Userspace exit_value) int Process::sys$set_thread_name(pid_t tid, Userspace user_name, size_t user_name_length) { - REQUIRE_PROMISE(thread); + REQUIRE_PROMISE(stdio); auto name = copy_string_from_user(user_name, user_name_length); if (name.is_null()) return -EFAULT;