Bug 747322 - Fix jemalloc mmap wrapper for s390x. r=jlebar,a=npotb

This commit is contained in:
Mike Hommey 2012-04-23 08:31:55 +02:00
parent 2df5738ccc
commit 64e116361b

View File

@ -405,9 +405,9 @@ void *_mmap(void *addr, size_t length, int prot, int flags,
struct {
void *addr;
size_t length;
int prot;
int flags;
int fd;
long prot;
long flags;
long fd;
off_t offset;
} args = { addr, length, prot, flags, fd, offset };
return (void *) syscall(SYS_mmap, &args);