diff options
| author | 2022-03-21 18:33:07 +0100 | |
|---|---|---|
| committer | 2022-04-20 17:05:45 -0700 | |
| commit | 170b230d22e89681ebca1a3d972dca441c8e4be5 (patch) | |
| tree | 0076ffc6acdf7d96dc07410c6ea2c84fcebe82fb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | tools/nolibc/stdlib: implement abort() (diff) | |
| download | linux-dev-170b230d22e89681ebca1a3d972dca441c8e4be5.tar.xz linux-dev-170b230d22e89681ebca1a3d972dca441c8e4be5.zip | |
tools/nolibc/stdio: make printf(%s) accept NULL
It's often convenient to support this, especially in test programs where
a NULL may correspond to an allocation error or a non-existing value.
Let's make printf("%s") support being passed a NULL. In this case it
prints "(null)" like glibc's printf().
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
