1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 11:54:57 +00:00

LibC: setspent() should not print to stderr

This commit is contained in:
Gunnar Beutner 2021-05-04 14:34:14 +02:00 committed by Linus Groh
parent 3cab91e8d7
commit 3b759451c6

View file

@ -32,7 +32,7 @@ void setspent()
} else { } else {
s_stream = fopen("/etc/shadow", "r"); s_stream = fopen("/etc/shadow", "r");
if (!s_stream) { if (!s_stream) {
perror("open /etc/shadow"); dbgln("open /etc/shadow failed: {}", strerror(errno));
} }
} }
} }