mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.Everything:
This commit is contained in:
parent
872f2a3b90
commit
dca6f1f49b
Notes:
sideshowbarker
2024-07-18 23:56:44 +09:00
Author: https://github.com/asynts
Commit: dca6f1f49b
Pull-request: https://github.com/SerenityOS/serenity/pull/4887
9 changed files with 53 additions and 38 deletions
|
@ -268,7 +268,7 @@ KResult Inode::prepare_to_write_data()
|
|||
return KResult(-EROFS);
|
||||
auto metadata = this->metadata();
|
||||
if (metadata.is_setuid() || metadata.is_setgid()) {
|
||||
dbg() << "Inode::prepare_to_write_data(): Stripping SUID/SGID bits from " << identifier();
|
||||
dbgln("Inode::prepare_to_write_data(): Stripping SUID/SGID bits from {}", identifier());
|
||||
return chmod(metadata.mode & ~(04000 | 02000));
|
||||
}
|
||||
return KSuccess;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue