aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-25 09:30:00 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-25 09:36:28 +0200
commit97ed4749becdc20481688ee074e90507ca3501dd (patch)
tree102dd949e57146c3978a71381f5a09b1ca7a4e9f /support
parent40ebfd016ad284872f434bdd76dbe9c708db4d6b (diff)
downloadglibc-97ed4749becdc20481688ee074e90507ca3501dd.tar
glibc-97ed4749becdc20481688ee074e90507ca3501dd.tar.gz
glibc-97ed4749becdc20481688ee074e90507ca3501dd.tar.bz2
glibc-97ed4749becdc20481688ee074e90507ca3501dd.zip
support: Fix xclone build failures on ia64 and hppa
Diffstat (limited to 'support')
-rw-r--r--support/xclone.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/support/xclone.c b/support/xclone.c
index 924d2b8754..243eee8b23 100644
--- a/support/xclone.c
+++ b/support/xclone.c
@@ -30,15 +30,14 @@ xclone (int (*fn) (void *arg), void *arg, void *stack, size_t stack_size,
# ifdef __ia64__
extern int __clone2 (int (*fn) (void *arg), void *stack, size_t stack_size,
int flags, void *arg, ...);
- r = __clone2 (f, stack, stack_size, flags, arg, /* ptid */ NULL,
- /* tls */ NULL, /* ctid */ ctid);
+ r = __clone2 (fn, stack, stack_size, flags, arg, /* ptid */ NULL,
+ /* tls */ NULL, /* ctid */ NULL);
# else
# if _STACK_GROWS_DOWN
r = clone (fn, stack + stack_size, flags, arg, /* ptid */ NULL,
/* tls */ NULL, /* ctid */ NULL);
# elif _STACK_GROWS_UP
- r = clone (fn, stack, flags, arg, /* ptid */ NULL, /* tls */ NULL,
- &ctid);
+ r = clone (fn, stack, flags, arg, /* ptid */ NULL, /* tls */ NULL, NULL);
# endif
# endif