mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47: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
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <AK/Format.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
|
@ -16,7 +17,7 @@ constexpr unsigned encoded_device(unsigned major, unsigned minor)
|
|||
|
||||
static int usage()
|
||||
{
|
||||
printf("usage: mknod <name> <c|b|p> [<major> <minor>]\n");
|
||||
warnln("usage: mknod <name> <c|b|p> [<major> <minor>]");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue