commit | 277f977a8e82ba9b2438355905596f9f94ac7016 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Jul 24 14:59:46 2018 -0700 |
committer | Yi Kong <yikong@google.com> | Tue Jul 24 14:59:46 2018 -0700 |
tree | 9d2513890f4e210d72ce35249f9677191a03d9f9 | |
parent | deacf14671c2f92b667a381fff9c1bc0433b2691 [diff] [blame] |
Modernize codebase by replacing NULL with nullptr Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I8cb04f9f99be029d7fef13c4c7c77aea515f3d61
diff --git a/minijail/HardwareMinijail.cpp b/minijail/HardwareMinijail.cpp index e6b1144..990a689 100644 --- a/minijail/HardwareMinijail.cpp +++ b/minijail/HardwareMinijail.cpp
@@ -29,7 +29,7 @@ } struct minijail* jail = minijail_new(); - if (jail == NULL) { + if (jail == nullptr) { LOG(FATAL) << "Failed to create minijail."; }