summaryrefslogtreecommitdiff
path: root/libc/async_safe/async_safe_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/async_safe/async_safe_log.cpp')
-rw-r--r--libc/async_safe/async_safe_log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/async_safe/async_safe_log.cpp b/libc/async_safe/async_safe_log.cpp
index c6b8b5352..5f22c7495 100644
--- a/libc/async_safe/async_safe_log.cpp
+++ b/libc/async_safe/async_safe_log.cpp
@@ -333,7 +333,7 @@ static void out_vformat(Out& o, const char* format, va_list args) {
if (c == 's') {
/* string */
str = va_arg(args, const char*);
- if (str == NULL) {
+ if (str == nullptr) {
str = "(null)";
}
} else if (c == 'c') {