diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-27 03:20:20 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-27 03:20:20 +0000 |
commit | 93a4b7cac4c68f108d784fba8ded542bf41d03bd (patch) | |
tree | 4d89f1e0162077b8b760c5069028301566979497 /linuxthreads/Examples | |
parent | 0a04075ed9766681c796dfe0f2e2fb81881f09ba (diff) | |
download | glibc-93a4b7cac4c68f108d784fba8ded542bf41d03bd.tar glibc-93a4b7cac4c68f108d784fba8ded542bf41d03bd.tar.gz glibc-93a4b7cac4c68f108d784fba8ded542bf41d03bd.tar.bz2 glibc-93a4b7cac4c68f108d784fba8ded542bf41d03bd.zip |
Update.
2001-03-26 Ben Collins <bcollins@debian.org>
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Add MAP_* and MADV_*
defines to match other architectures.
Diffstat (limited to 'linuxthreads/Examples')
-rw-r--r-- | linuxthreads/Examples/ex17.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/Examples/ex17.c b/linuxthreads/Examples/ex17.c index bedf86806f..f5c99ee3fb 100644 --- a/linuxthreads/Examples/ex17.c +++ b/linuxthreads/Examples/ex17.c @@ -28,7 +28,7 @@ main (void) PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); - if (stack == (void *)-1) + if (stack == MAP_FAILED) { perror ("mmap failed"); return 1; |