summaryrefslogtreecommitdiff
path: root/libexec/ld.so/hppa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-05-18 20:40:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-05-18 20:40:21 +0000
commitdfa61228962db91293426cd4a998572bd0ef0260 (patch)
treeb3aab0ff5b9a417bd24fb56561fe914eb770d043 /libexec/ld.so/hppa
parent17242025d31f293f55a0de3d23dfef1076987e2d (diff)
fix types for mmap wrappers. A few whitespace cleanups snuck in.
ok guenther
Diffstat (limited to 'libexec/ld.so/hppa')
-rw-r--r--libexec/ld.so/hppa/archdep.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libexec/ld.so/hppa/archdep.h b/libexec/ld.so/hppa/archdep.h
index 700d1ce8226..9bcc6e02826 100644
--- a/libexec/ld.so/hppa/archdep.h
+++ b/libexec/ld.so/hppa/archdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: archdep.h,v 1.10 2015/12/06 23:36:12 guenther Exp $ */
+/* $OpenBSD: archdep.h,v 1.11 2016/05/18 20:40:20 deraadt Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
@@ -47,11 +47,10 @@
#include "util.h"
static inline void *
-_dl_mmap(void *addr, unsigned int len, unsigned int prot,
- unsigned int flags, int fd, off_t offset)
+_dl_mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset)
{
return((void *)_dl__syscall((quad_t)SYS_mmap, addr, len, prot,
- flags, fd, 0, offset));
+ flags, fd, 0, offset));
}