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
commit 3b759451c6
Notes: sideshowbarker 2024-07-18 18:43:33 +09:00

View file

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