Bug 703912 - Avoid format string problem in window.dump on mobile; r=blassey

This commit is contained in:
Christian Holler (:decoder) 2012-01-26 11:46:48 -08:00
parent 524fa88a13
commit dbc63f2bf9

View File

@ -4579,7 +4579,7 @@ nsGlobalWindow::Dump(const nsAString& aStr)
if (cstr) {
#ifdef ANDROID
__android_log_print(ANDROID_LOG_INFO, "Gecko", cstr);
__android_log_write(ANDROID_LOG_INFO, "GeckoDump", cstr);
#endif
FILE *fp = gDumpFile ? gDumpFile : stdout;
fputs(cstr, fp);