summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc64/archdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/sparc64/archdep.h')
-rw-r--r--libexec/ld.so/sparc64/archdep.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ld.so/sparc64/archdep.h b/libexec/ld.so/sparc64/archdep.h
index 8e3c1b19d36..3f3257fa865 100644
--- a/libexec/ld.so/sparc64/archdep.h
+++ b/libexec/ld.so/sparc64/archdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: archdep.h,v 1.10 2002/07/24 00:12:47 deraadt Exp $ */
+/* $OpenBSD: archdep.h,v 1.11 2002/07/24 04:00:45 deraadt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -49,11 +49,11 @@
#include "syscall.h"
#include "util.h"
-static inline void *
+static inline long
_dl_mmap(void *addr, unsigned int len, unsigned int prot,
unsigned int flags, int fd, off_t offset)
{
- return((void *)_dl__syscall((quad_t)SYS_mmap, addr, len, prot,
+ return(_dl__syscall((quad_t)SYS_mmap, addr, len, prot,
flags, fd, 0, offset));
}