X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/2fd3f4e8fd2c2f2c7d149fbea471d8b3fb56f15a..df9d6cf7fb01f4e3d4128fe7a687984fe0b45584:/unit-tests/test-cases/dlopen-leak/main.c diff --git a/unit-tests/test-cases/dlopen-leak/main.c b/unit-tests/test-cases/dlopen-leak/main.c index d84b8e2..3ff66e5 100644 --- a/unit-tests/test-cases/dlopen-leak/main.c +++ b/unit-tests/test-cases/dlopen-leak/main.c @@ -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");