mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:57:35 +00:00
Userland: Replace most printf-style APIs with AK::Format APIs :^)
This commit is contained in:
parent
4f1889c2cb
commit
f5c35fccca
75 changed files with 642 additions and 644 deletions
|
@ -79,14 +79,14 @@ int main(int argc, char** argv)
|
|||
}
|
||||
rc = unlink(old_path);
|
||||
if (rc < 0)
|
||||
fprintf(stderr, "mv: unlink '%s': %s\n", old_path, strerror(errno));
|
||||
warnln("mv: unlink '{}': {}", old_path, strerror(errno));
|
||||
} else {
|
||||
warnln("mv: cannot move '{}' : {}", old_path, strerror(errno));
|
||||
}
|
||||
}
|
||||
|
||||
if (verbose && rc == 0)
|
||||
printf("renamed '%s' -> '%s'\n", old_path, new_path);
|
||||
outln("renamed '{}' -> '{}'", old_path, new_path);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue