summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-08-21 17:11:00 +0000
committerphk <phk@FreeBSD.org>2002-08-21 17:11:00 +0000
commit34ae8fe5374af25df8e04d804f045ed309399984 (patch)
treef9b4b997e89fa0a9d6343010bf2cdbd6bb572e43 /lib/libc/stdlib
parent9e6f796b0d2083dcc48c062853660f96db0a3c8d (diff)
downloadFreeBSD-src-34ae8fe5374af25df8e04d804f045ed309399984.zip
FreeBSD-src-34ae8fe5374af25df8e04d804f045ed309399984.tar.gz
s/EDOFUS/EDOOFUS/
Persuaded by: Google
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index d97e872..fdcc751 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -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) {
OpenPOWER on IntegriCloud