s/EDOFUS/EDOOFUS/
Persuaded by: Google
This commit is contained in:
parent
abbd890233
commit
bb7d71b99f
@ -148,7 +148,7 @@ const char *const sys_errlist[] = {
|
||||
"Attribute not found", /* 87 - ENOATTR */
|
||||
|
||||
/* General */
|
||||
"Programming error", /* 88 - EDOFUS */
|
||||
"Programming error", /* 88 - EDOOFUS */
|
||||
};
|
||||
int errno;
|
||||
const int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]);
|
||||
|
@ -1093,7 +1093,7 @@ malloc(size_t size)
|
||||
wrtwarning("recursive call\n");
|
||||
malloc_active--;
|
||||
THREAD_UNLOCK();
|
||||
errno = EDOFUS;
|
||||
errno = EDOOFUS;
|
||||
return (0);
|
||||
}
|
||||
if (!malloc_started)
|
||||
@ -1123,7 +1123,7 @@ free(void *ptr)
|
||||
wrtwarning("recursive call\n");
|
||||
malloc_active--;
|
||||
THREAD_UNLOCK();
|
||||
errno = EDOFUS;
|
||||
errno = EDOOFUS;
|
||||
return;
|
||||
}
|
||||
if (ptr != ZEROSIZEPTR)
|
||||
@ -1146,7 +1146,7 @@ realloc(void *ptr, size_t size)
|
||||
wrtwarning("recursive call\n");
|
||||
malloc_active--;
|
||||
THREAD_UNLOCK();
|
||||
errno = EDOFUS;
|
||||
errno = EDOOFUS;
|
||||
return (0);
|
||||
}
|
||||
if (ptr && !malloc_started) {
|
||||
|
@ -453,7 +453,7 @@ invalid or an incomplete sequence of bytes or the given wide
|
||||
character is invalid.
|
||||
.It Er 87 ENOATTR Em "Attribute not found" .
|
||||
The specified extended attribute does not exist.
|
||||
.It Er 88 EDOFUS Em "Programming error" .
|
||||
.It Er 88 EDOOFUS Em "Programming error" .
|
||||
A function or API is being abused in a way which could only be detected
|
||||
at run-time.
|
||||
|
||||
|
@ -169,7 +169,7 @@ __END_DECLS
|
||||
#define EILSEQ 86 /* Illegal byte sequence */
|
||||
#define ENOATTR 87 /* Attribute not found */
|
||||
|
||||
#define EDOFUS 88 /* Programming error */
|
||||
#define EDOOFUS 88 /* Programming error */
|
||||
|
||||
#define ELAST 88 /* Must be equal largest errno */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user