Improved 'missing errno' message.

svn path=/trunk/boinc/; revision=9262
This commit is contained in:
Bruce Allen 2006-01-18 21:22:08 +00:00
parent 52fddc3b96
commit 152ffe2dd1
1 changed files with 2 additions and 2 deletions

View File

@ -948,8 +948,8 @@ const char* boincerror(int which_error) {
case ERR_FFLUSH: return "Couldn't flush file";
case ERR_FSYNC: return "Couldn't sync file";
}
static char buf[64];
sprintf(buf, "error %d", which_error);
static char buf[128];
sprintf(buf, "unknown BOINC error %d. Have BOINC devs fix boincerror()!", which_error);
return buf;
}