diff --git a/chrome/nsChromeProtocolHandler.cpp b/chrome/nsChromeProtocolHandler.cpp index 4a0e879c838e..f998b1966a77 100644 --- a/chrome/nsChromeProtocolHandler.cpp +++ b/chrome/nsChromeProtocolHandler.cpp @@ -173,9 +173,8 @@ nsChromeProtocolHandler::NewChannel2(nsIURI* aURI, bool exists = false; file->Exists(&exists); if (!exists) { - nsAutoCString path; - file->GetNativePath(path); - printf("Chrome file doesn't exist: %s\n", path.get()); + printf("Chrome file doesn't exist: %s\n", + file->HumanReadablePath().get()); } } #endif