commit | da85287aa3304b829eeca9fd15e3685ed12fb099 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jul 31 06:00:51 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jul 31 06:00:51 2007 +0000 |
tree | 4bda4b182906195a4d8436b6843356cb82e69e95 | |
parent | 51dbabe986678a0bbfa39b525da7b13c14dd4f79 [diff] [blame] |
Fix PR1581, patch by Timo Savola git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40616 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/System/DynamicLibrary.cpp b/lib/System/DynamicLibrary.cpp index 8119348..a076e3c 100644 --- a/lib/System/DynamicLibrary.cpp +++ b/lib/System/DynamicLibrary.cpp
@@ -62,7 +62,7 @@ lt_dlhandle a_handle = lt_dlopen(0); - assert(a_handle == 0 || "Can't open program as dynamic library"); + assert(a_handle == 0 && "Can't open program as dynamic library"); handle = a_handle; OpenedHandles.push_back(a_handle);