From 5a8e75b1d3caaf559b4bc6dd0f4bc91741f77270 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 5 Feb 2010 09:08:01 +0000 Subject: [PATCH] Bug fix svn path=/trunk/boinc/; revision=20433 --- mac_installer/AddRemoveUser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mac_installer/AddRemoveUser.cpp b/mac_installer/AddRemoveUser.cpp index 4d1ab7bb53..85bb56cd47 100644 --- a/mac_installer/AddRemoveUser.cpp +++ b/mac_installer/AddRemoveUser.cpp @@ -43,6 +43,7 @@ int main(int argc, char *argv[]) group grpBOINC_master, *grpBOINC_masterPtr; group grpBOINC_project, *grpBOINC_projectPtr; char bmBuf[32768]; + char bpBuf[32768]; short index, i; char *p; char s[256]; @@ -82,7 +83,7 @@ int main(int argc, char *argv[]) return -1; } - err = getgrnam_r("boinc_project", &grpBOINC_project, bmBuf, sizeof(bmBuf), &grpBOINC_projectPtr); + err = getgrnam_r("boinc_project", &grpBOINC_project, bpBuf, sizeof(bpBuf), &grpBOINC_projectPtr); if (err) { // Should never happen unless buffer too small puts("getgrnam(\"boinc_project\") failed\n"); return -1;