Bug 1149872 - Add the missing format specifiers. r=jduell

This commit is contained in:
theoneisneo 2015-04-02 01:56:00 -04:00
parent 8cb800a0e9
commit ea5d7cdd60
2 changed files with 2 additions and 2 deletions

View File

@ -429,7 +429,7 @@ uprv_copyEbcdic(const UDataSwapper *ds,
while(count>0) {
c=*s++;
if(c!=0 && ((c=asciiFromEbcdic[c])==0 || !UCHAR_IS_INVARIANT(c))) {
udata_printError(ds, "uprv_copyEbcdic() string[%] contains a variant character in position %d\n",
udata_printError(ds, "uprv_copyEbcdic() string[%d] contains a variant character in position %d\n",
length, length-count);
*pErrorCode=U_INVALID_CHAR_FOUND;
return 0;

View File

@ -2703,7 +2703,7 @@ WebSocketChannel::OnProxyAvailable(nsICancelable *aRequest, nsIChannel *aChannel
// call DNS callback directly without DNS resolver
OnLookupComplete(nullptr, nullptr, NS_ERROR_FAILURE);
} else {
LOG(("WebSocketChannel::OnProxyAvailable[%] checking DNS resolution\n", this));
LOG(("WebSocketChannel::OnProxyAvailable[%p] checking DNS resolution\n", this));
nsresult rv = DoAdmissionDNS();
if (NS_FAILED(rv)) {
LOG(("WebSocket OnProxyAvailable [%p] DNS lookup failed\n", this));