aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-02 08:31:47 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-02 08:31:51 +0100
commita377510e3a2aefd18fd481b4cc66c4ba43b7c268 (patch)
tree1a5c51a1a354fcad8b2f684a60a09744d0033711 /src/rpc
parentdf562d698a386166ef93d03326c0480ea9bc11fe (diff)
parent9a09d307e9bd81ed218dd560d3eac7565f1f7a2f (diff)
downloadbitcoin-a377510e3a2aefd18fd481b4cc66c4ba43b7c268.tar.xz
Merge bitcoin/bitcoin#23643: rpc: remove info about mallocinfo needing glibc 2.10+
9a09d307e9bd81ed218dd560d3eac7565f1f7a2f rpc: remove info about mallocinfo needing glibc 2.10+ (fanquake) Pull request description: We require glibc 2.18+. ACKs for top commit: jarolrod: ACK 9a09d307e9bd81ed218dd560d3eac7565f1f7a2f shaavan: ACK 9a09d307e9bd81ed218dd560d3eac7565f1f7a2f Tree-SHA512: 61312e48fda4cb4c788d44be0f0c626e753b0a18a8f36bca813ce838f8e619e73c00306bb716e9863a077c09b5bcdec7dec134d75c5ace719a5c0a05cf75ed8a
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp
index 2bd8a6b050..6a3e160d8c 100644
--- a/src/rpc/misc.cpp
+++ b/src/rpc/misc.cpp
@@ -558,7 +558,7 @@ static RPCHelpMan getmemoryinfo()
#ifdef HAVE_MALLOC_INFO
return RPCMallocInfo();
#else
- throw JSONRPCError(RPC_INVALID_PARAMETER, "mallocinfo is only available when compiled with glibc 2.10+");
+ throw JSONRPCError(RPC_INVALID_PARAMETER, "mallocinfo mode not available");
#endif
} else {
throw JSONRPCError(RPC_INVALID_PARAMETER, "unknown mode " + mode);