diff options
author | Linus Groh <mail@linusgroh.de> | 2021-05-31 15:43:25 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-01 21:30:16 +0100 |
commit | f5c35fccca3394ae54647d89a160d599f4a74f04 (patch) | |
tree | 5daf1ac703d28877439d0de00bcd54091cd02e5e /Userland/Utilities/readlink.cpp | |
parent | 4f1889c2cb5273800499550082af48df7e8c022f (diff) | |
download | serenity-f5c35fccca3394ae54647d89a160d599f4a74f04.zip |
Userland: Replace most printf-style APIs with AK::Format APIs :^)
Diffstat (limited to 'Userland/Utilities/readlink.cpp')
-rw-r--r-- | Userland/Utilities/readlink.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Utilities/readlink.cpp b/Userland/Utilities/readlink.cpp index c126b4002e..318e31ac1a 100644 --- a/Userland/Utilities/readlink.cpp +++ b/Userland/Utilities/readlink.cpp @@ -30,9 +30,9 @@ int main(int argc, char** argv) perror(path); return 1; } - printf("%s", destination.characters()); + out("{}", destination); if (!no_newline) - putchar('\n'); + outln(); } return 0; |