summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man3
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-18 17:25:44 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 22:14:30 +0100
commitea7b7d8ceb2f48127b196a4eaf958bb387bb61da (patch)
tree81ef2a3848a8b64ed0960f0c9055c216390b8baf /Base/usr/share/man/man3
parentfb8d3635d912a40a66a9e4b50454cfdd83f71d16 (diff)
downloadserenity-ea7b7d8ceb2f48127b196a4eaf958bb387bb61da.zip
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.
Diffstat (limited to 'Base/usr/share/man/man3')
-rw-r--r--Base/usr/share/man/man3/basename.md8
-rw-r--r--Base/usr/share/man/man3/dirname.md8
2 files changed, 8 insertions, 8 deletions
diff --git a/Base/usr/share/man/man3/basename.md b/Base/usr/share/man/man3/basename.md
index 716ef8f29e..f670f4129f 100644
--- a/Base/usr/share/man/man3/basename.md
+++ b/Base/usr/share/man/man3/basename.md
@@ -35,16 +35,16 @@ buffer while using the returned string.
int main()
{
char path1[] = "/home/anon/ReadMe.md";
- dbg() << basename(path1); // should be "ReadMe.md"
+ dbgln("{}", basename(path1)); // should be "ReadMe.md"
char path2[] = "foo/bar/";
- dbg() << basename(path2); // should be "bar"
+ dbgln("{}", basename(path2)); // should be "bar"
char path3[] = "foo";
- dbg() << basename(path3); // should be "foo"
+ dbgln("{}", basename(path3)); // should be "foo"
char path4[] = "/";
- dbg() << basename(path4); // should be "/"
+ dbgln("{}", basename(path4)); // should be "/"
}
```
diff --git a/Base/usr/share/man/man3/dirname.md b/Base/usr/share/man/man3/dirname.md
index 6a101d9dbf..509628716d 100644
--- a/Base/usr/share/man/man3/dirname.md
+++ b/Base/usr/share/man/man3/dirname.md
@@ -36,16 +36,16 @@ buffer while using the returned string.
int main()
{
char path1[] = "/home/anon/ReadMe.md";
- dbg() << dirname(path1); // should be "/home/anon"
+ dbgln("{}", dirname(path1)); // should be "/home/anon"
char path2[] = "foo/bar/";
- dbg() << dirname(path2); // should be "foo"
+ dbgln("{}", dirname(path2)); // should be "foo"
char path3[] = "foo";
- dbg() << dirname(path3); // should be "."
+ dbgln("{}", dirname(path3)); // should be "."
char path4[] = "/";
- dbg() << dirname(path4); // should be "/"
+ dbgln("{}", dirname(path4)); // should be "/"
}
```