mirror of https://github.com/BOINC/boinc.git
Improved 'missing errno' message.
svn path=/trunk/boinc/; revision=9262
This commit is contained in:
parent
52fddc3b96
commit
152ffe2dd1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue