summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2015-01-13 22:53:08 +0000
committerBryan Cantrill <bryan@joyent.com>2015-01-13 22:53:08 +0000
commit216328e80edbeb72e4b14432c91cbcbb149e3df3 (patch)
tree59c9f9e7b3a3d0e2453a274b617f8a23c8bcda4f /usr/src/lib/libc
parent0f7593373f60e704b245f40ef0bb8f7751d1e108 (diff)
downloadillumos-joyent-216328e80edbeb72e4b14432c91cbcbb149e3df3.tar.gz
OS-3707 lx brand: gcl core dumps on 64-bit
Diffstat (limited to 'usr/src/lib/libc')
-rw-r--r--usr/src/lib/libc/port/threads/alloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/lib/libc/port/threads/alloc.c b/usr/src/lib/libc/port/threads/alloc.c
index 5851212ad4..99f68000d2 100644
--- a/usr/src/lib/libc/port/threads/alloc.c
+++ b/usr/src/lib/libc/port/threads/alloc.c
@@ -21,13 +21,14 @@
/*
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, Joyent, Inc. All rights reserved.
*/
#include "lint.h"
#include "thr_uberdata.h"
#include <sys/syscall.h>
-extern int __systemcall6(sysret_t *, int, ...);
+extern long __systemcall6(sysret_t *, int, ...);
/*
* This is a small and simple power of two memory allocator that is