mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user