summaryrefslogtreecommitdiff
path: root/libexec/rtld-aout
diff options
context:
space:
mode:
authorDavid Malone <dwmalone@FreeBSD.org>2002-01-24 12:11:31 +0000
committerDavid Malone <dwmalone@FreeBSD.org>2002-01-24 12:11:31 +0000
commit98d1592458f5ead3e8cd52ca7d8185977d7fdef8 (patch)
treeb31855c8a65a23be32e28129e6ef6b841a1500fe /libexec/rtld-aout
parente4e61f78536cea5cf9c73cf4b2dab9565ee993be (diff)
downloadsrc-test2-98d1592458f5ead3e8cd52ca7d8185977d7fdef8.tar.gz
src-test2-98d1592458f5ead3e8cd52ca7d8185977d7fdef8.zip
Notes
Diffstat (limited to 'libexec/rtld-aout')
-rw-r--r--libexec/rtld-aout/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-aout/rtld.c b/libexec/rtld-aout/rtld.c
index 7f0908b90258..6769fa18a7ab 100644
--- a/libexec/rtld-aout/rtld.c
+++ b/libexec/rtld-aout/rtld.c
@@ -2518,7 +2518,7 @@ malloc(size)
newbrk = (char *)
roundup2((unsigned long)rtld_alloc_lev, PAGSIZ);
- if (brk(newbrk) == (char *)-1)
+ if (brk(newbrk) == -1)
return NULL;
}