summaryrefslogtreecommitdiff
path: root/LibC
diff options
context:
space:
mode:
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");
}
}