diff options
Diffstat (limited to 'libc/system_properties/system_properties.cpp')
-rw-r--r-- | libc/system_properties/system_properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/system_properties/system_properties.cpp b/libc/system_properties/system_properties.cpp index d5c36471d..d7c441b9b 100644 --- a/libc/system_properties/system_properties.cpp +++ b/libc/system_properties/system_properties.cpp @@ -214,7 +214,7 @@ void SystemProperties::ReadCallback(const prop_info* pi, int SystemProperties::Get(const char* name, char* value) { const prop_info* pi = Find(name); - if (pi != 0) { + if (pi != nullptr) { return Read(pi, nullptr, value); } else { value[0] = 0; |