summaryrefslogtreecommitdiff
path: root/LibC
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-31 20:10:39 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-10-31 20:14:23 +0100
commitdec5683e9c5edd9259e2bcebc2b5804d1fdd4082 (patch)
treeaff2f7d2096621ea076464d4b527fe51b022cd17 /LibC
parent9886b27d9cc67221efc8ee7e277570d146ee9992 (diff)
downloadserenity-dec5683e9c5edd9259e2bcebc2b5804d1fdd4082.zip
Snazz up the kprintf() output a bit by giving it its own color.
Diffstat (limited to 'LibC')
-rw-r--r--LibC/pwd.cpp1
1 files changed, 1 insertions, 0 deletions
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");
}
}