svn path=/trunk/boinc/; revision=20433
This commit is contained in:
Charlie Fenton 2010-02-05 09:08:01 +00:00
parent 93e680e346
commit 5a8e75b1d3
1 changed files with 2 additions and 1 deletions

View File

@ -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;