Merge a377510e3a into merged_master (Bitcoin PR bitcoin/bitcoin#23643)

This commit is contained in:
Byron Hambly 2023-06-01 10:10:40 +00:00
commit df7706fbf9
2 changed files with 2 additions and 2 deletions

View file

@ -594,7 +594,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);