diff --git a/mozilla/xpcom/tests/TestStackCrawl.cpp b/mozilla/xpcom/tests/TestStackCrawl.cpp index ba234b3261c..d6a5a741a01 100644 --- a/mozilla/xpcom/tests/TestStackCrawl.cpp +++ b/mozilla/xpcom/tests/TestStackCrawl.cpp @@ -5,10 +5,7 @@ int main(int argc, char* argv[]) { - char buf[16384]; - nsTraceRefcnt::WalkTheStack(buf, sizeof(buf)); - printf("%s\n", buf); - + nsTraceRefcnt::WalkTheStack(stdout); return 0; }