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

which: Replace printf() with outln()/warnln()

This commit is contained in:
Linus Groh 2021-05-30 14:06:19 +01:00
parent 7b79758fc6
commit 5d80aab038

View file

@ -24,10 +24,10 @@ int main(int argc, char** argv)
auto fullpath = Core::find_executable_in_path(filename); auto fullpath = Core::find_executable_in_path(filename);
if (fullpath.is_null()) { if (fullpath.is_null()) {
printf("no '%s' in path\n", filename); warnln("no '{}' in path", filename);
return 1; return 1;
} }
printf("%s\n", fullpath.characters()); outln("{}", fullpath);
return 0; return 0;
} }