From b88da4811ffe6af708f33865b63919cb44c94b70 Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 25 Jul 2023 17:30:56 +0200 Subject: [PATCH] kernel: Remove debug message in readlink --- kernel/src/sys/link.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/src/sys/link.cpp b/kernel/src/sys/link.cpp index a9d0a09b..feeedc7d 100644 --- a/kernel/src/sys/link.cpp +++ b/kernel/src/sys/link.cpp @@ -81,8 +81,6 @@ Result sys_readlinkat(Registers*, SyscallArgs args) usize nread = linkpath.length(); if (nread > bufsiz) nread = bufsiz; - kdbgln("readlink: reading %zu bytes from symlink (%s)", nread, linkpath.chars()); - if (!MemoryManager::copy_to_user(buf, linkpath.chars(), nread)) return err(EFAULT); return nread;