From ad5468d69f77b6b3db1d48bfe5799ec8ac61581a Mon Sep 17 00:00:00 2001
From: Ulrich Drepper <drepper@redhat.com>
Date: Tue, 7 Jan 2003 05:50:55 +0000
Subject: 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.
---
 elf/dl-misc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'elf')

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.
-- 
cgit v1.2.1