1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:15:07 +00:00

Everywhere: Convert a bunch of dbgprintf() to dbgln()

This commit is contained in:
Andreas Kling 2021-01-10 10:02:20 +01:00
parent 13e8a2a671
commit f35a723f61
16 changed files with 32 additions and 32 deletions

View file

@ -211,7 +211,7 @@ void Service::spawn(int socket_fd)
if (m_account.has_value()) {
auto& account = m_account.value();
if (setgid(account.gid()) < 0 || setgroups(account.extra_gids().size(), account.extra_gids().data()) < 0 || setuid(account.uid()) < 0) {
dbgprintf("Failed to drop privileges (GID=%u, UID=%u)\n", account.gid(), account.uid());
dbgln("Failed to drop privileges (GID={}, UID={})\n", account.gid(), account.uid());
exit(1);
}
setenv("HOME", account.home_directory().characters(), true);