From 79745d1752d0d1a95f073a04d6f4b9715745cf17 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Thu, 13 Jun 2019 09:43:24 -0400 Subject: Replace remaining fprintf with tfm::format manually Github-Pull: #16205 Rebased-From: fa8f195195945ce6258199af0461e3fbfbc1236d --- src/bitcoin-tx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bitcoin-tx.cpp') diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 6a7a22fb15..dcf6dddf29 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -827,7 +827,7 @@ static int CommandLineRawTx(int argc, char* argv[]) } if (strPrint != "") { - fprintf((nRet == 0 ? stdout : stderr), "%s\n", strPrint.c_str()); + tfm::format(nRet == 0 ? std::cout : std::cerr, "%s\n", strPrint.c_str()); } return nRet; } -- cgit v1.2.3