about summary refs log tree commit diff
path: root/elf/dl-misc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-07 05:50:55 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-07 05:50:55 +0000
commitad5468d69f77b6b3db1d48bfe5799ec8ac61581a (patch)
tree162a08b0148dd34563c4cba0dcc13b9484dbe41f /elf/dl-misc.c
parent2b31830acf326389c996bd6b0dd47b4d44e821cd (diff)
downloadglibc-ad5468d69f77b6b3db1d48bfe5799ec8ac61581a.tar.gz
glibc-ad5468d69f77b6b3db1d48bfe5799ec8ac61581a.tar.xz
glibc-ad5468d69f77b6b3db1d48bfe5799ec8ac61581a.zip
Update.
	* elf/dl-misc.c (_dl_debug_vdprintf): Help PPC port by explcitly
	taking address of iov in INTERNAL_SYSCALL call.  Patch by Franz Sirl.
Diffstat (limited to 'elf/dl-misc.c')
-rw-r--r--elf/dl-misc.c4
1 files changed, 2 insertions, 2 deletions
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.