aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--elf/dl-misc.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b4a63045c..764a7016c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2003-01-06 Ulrich Drepper <drepper@redhat.com>
+ * elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explcitly
+ taking address of iov in INTERNAL_SYSCALL call. Patch by Franz Sirl.
+
* malloc/malloc.c: Makr all _int_* functions as static.
2003-01-06 Jakub Jelinek <jakub@redhat.com>
diff --git a/elf/dl-misc.c b/elf/dl-misc.c
index 2b461736e9..2f37675b46 100644
--- a/elf/dl-misc.c
+++ b/elf/dl-misc.c
@@ -1,5 +1,5 @@
/* Miscellaneous support functions for dynamic linker
- Copyright (C) 1997,1998,1999,2000,2001,2002 Free Software Foundation, Inc.
+ Copyright (C) 1997-2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -248,7 +248,7 @@ _dl_debug_vdprintf (int fd, int tag_p, const char *fmt, va_list arg)
/* Finally write the result. */
#ifdef INTERNAL_SYSCALL
- INTERNAL_SYSCALL (writev, 3, fd, iov, niov);
+ INTERNAL_SYSCALL (writev, 3, fd, &iov, niov);
#elif RTLD_PRIVATE_ERRNO
/* We have to take this lock just to be sure we don't clobber the private
errno when it's being used by another thread that cares about it.