diff --git a/intl/icu/source/common/uinvchar.c b/intl/icu/source/common/uinvchar.c index f874edd9a27..58f8a233a73 100644 --- a/intl/icu/source/common/uinvchar.c +++ b/intl/icu/source/common/uinvchar.c @@ -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; diff --git a/netwerk/protocol/websocket/WebSocketChannel.cpp b/netwerk/protocol/websocket/WebSocketChannel.cpp index fea823d1508..a11347b4c2f 100644 --- a/netwerk/protocol/websocket/WebSocketChannel.cpp +++ b/netwerk/protocol/websocket/WebSocketChannel.cpp @@ -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));