From 55efe2444d78b13075bb1b8bb18d30420140e8b3 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 18 Feb 2016 01:41:38 -0800 Subject: [PATCH] client: fix build break on Mac introduced by commit 2cc9a0b, --- client/app_start.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app_start.cpp b/client/app_start.cpp index 20e9c9bf00..cc3bae52c4 100644 --- a/client/app_start.cpp +++ b/client/app_start.cpp @@ -1017,7 +1017,7 @@ int ACTIVE_TASK::start(bool test) { char newlibs[256]; snprintf(newlibs, sizeof(newlibs), "../../%s:.:../..", wup->project->project_dir()); #ifdef __APPLE__ - strlcat(newlibs, sizeof(newlibs), ":/usr/local/cuda/lib/"); + safe_strcat(newlibs, ":/usr/local/cuda/lib/"); #endif char* p = getenv("LD_LIBRARY_PATH"); if (p) {