diff --git a/Userland/Libraries/LibC/shadow.cpp b/Userland/Libraries/LibC/shadow.cpp index 0aa5cae1f9..c79c7fc218 100644 --- a/Userland/Libraries/LibC/shadow.cpp +++ b/Userland/Libraries/LibC/shadow.cpp @@ -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)); } } }