diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-03-25 22:29:29 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-03-25 22:29:29 +0000 |
commit | c5d7bc86b89dc6c9611d7756c158c7b972ece461 (patch) | |
tree | c92389721abbddc7a364f55f668f14bd1c4f8e00 | |
parent | 9bcb0766ebe2305b42ce3af7181c2d59bea1119d (diff) | |
download | bcm5719-llvm-c5d7bc86b89dc6c9611d7756c158c7b972ece461.tar.gz bcm5719-llvm-c5d7bc86b89dc6c9611d7756c158c7b972ece461.zip |
[lldb] [Process/NetBSD] Use nullptr to fix template arg deduction
llvm-svn: 356960
-rw-r--r-- | lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp index 5ccd5a35f75..e9eceb0124f 100644 --- a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp +++ b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp @@ -666,7 +666,7 @@ Status NativeProcessNetBSD::Attach() { // Need to use WALLSIG otherwise we receive an error with errno=ECHLD At this // point we should have a thread stopped if waitpid succeeds. if ((wstatus = llvm::sys::RetryAfterSignal(-1, waitpid, - m_pid, NULL, WALLSIG)) < 0) + m_pid, nullptr, WALLSIG)) < 0) return Status(errno, eErrorTypePOSIX); /* Initialize threads */ |