mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +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
|
@ -69,7 +69,7 @@ int main(int argc, char** argv)
|
|||
size_t max_lines = max(max_lines_for_one_command, 0);
|
||||
|
||||
if (!split_with_nulls && strlen(specified_delimiter) > 1) {
|
||||
fprintf(stderr, "xargs: the delimiter must be a single byte\n");
|
||||
warnln("xargs: the delimiter must be a single byte");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -205,8 +205,7 @@ bool run_command(Vector<char*>&& child_argv, bool verbose, bool is_stdin, int de
|
|||
if (verbose) {
|
||||
StringBuilder builder;
|
||||
builder.join(" ", child_argv);
|
||||
fprintf(stderr, "xargs: %s\n", builder.to_string().characters());
|
||||
fflush(stderr);
|
||||
warnln("xargs: {}", builder.to_string());
|
||||
}
|
||||
|
||||
auto pid = fork();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue