From 93187b860a3a52880555effebf3e85276a6f56be Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sun, 6 Feb 2022 04:07:19 -0800 Subject: [PATCH] Mac: fix sigabort of GPU detection when running under Xcode debugger This was not an issue when running normally (not from within Xcode) --- client/gpu_nvidia.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/gpu_nvidia.cpp b/client/gpu_nvidia.cpp index 7150de81b1..52c4bf3db6 100644 --- a/client/gpu_nvidia.cpp +++ b/client/gpu_nvidia.cpp @@ -241,7 +241,7 @@ void COPROC_NVIDIA::get( vector& warnings ) { int cuda_ndevs, retval; - char buf[256]; + char buf[2048]; int j, itemp; size_t global_mem = 0; string s;