From dec5683e9c5edd9259e2bcebc2b5804d1fdd4082 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 31 Oct 2018 20:10:39 +0100 Subject: Snazz up the kprintf() output a bit by giving it its own color. --- LibC/pwd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'LibC') diff --git a/LibC/pwd.cpp b/LibC/pwd.cpp index 5ce0c360c1..99325ff516 100644 --- a/LibC/pwd.cpp +++ b/LibC/pwd.cpp @@ -25,6 +25,7 @@ void setpwent() } else { __pwdb_stream = fopen("/etc/passwd", "r"); __pwdb_entry = (struct passwd_with_strings*)mmap(nullptr, getpagesize()); + set_mmap_name(__pwdb_entry, getpagesize(), "setpwent"); } } -- cgit v1.2.3