]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/dlopen-basic/main.c
dyld-97.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dlopen-basic / main.c
index 7ce2f893d4c43e9069b0acaa5dde1f46bba61716..f877537cbb908aa5bf211cc0ff8177842ae6b2a7 100644 (file)
@@ -31,7 +31,7 @@ static void trySO(const char* path)
 {
        void* handle = dlopen(path, RTLD_LAZY);
        if ( handle == NULL ) {
 {
        void* handle = dlopen(path, RTLD_LAZY);
        if ( handle == NULL ) {
-               FAIL("dlopen(\"%s\") failed", path);
+               FAIL("dlopen(\"%s\") failed with: %s", path, dlerror());
                exit(0);
        }
        
                exit(0);
        }