]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/dlopen-leak/main.c
dyld-360.14.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dlopen-leak / main.c
index d84b8e2f67b2dc163b2f98ac2b85dffc386c11e2..3ff66e51ef47a3761b1ff30d8a492b309d274c20 100644 (file)
@@ -42,7 +42,7 @@ int main()
 
        // execute leaks command on myself
        char cmd[512];
-       sprintf(cmd, "leaks %u > /dev/null\n", getpid());
+       sprintf(cmd, "sudo leaks %u > /dev/null\n", getpid());
        int result = system(cmd);
        if ( result == EXIT_SUCCESS )
                PASS("dlopen-leak");