diff --git a/webshell/tests/viewer/nsViewer.cpp b/webshell/tests/viewer/nsViewer.cpp index 65f512e42cd0..15c9e095a3f2 100644 --- a/webshell/tests/viewer/nsViewer.cpp +++ b/webshell/tests/viewer/nsViewer.cpp @@ -222,7 +222,7 @@ DocObserver::OnProgress(PRInt32 aProgress, PRInt32 aProgressMax, { fputs("[progress ", stdout); fputs(mURL, stdout); - printf(" %d %d %s]\n", aProgressMax, aProgressMax, + printf(" %d %d %s]\n", aProgress, aProgressMax, aMsg ? aMsg : ""); return NS_OK; }