about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/vdprintf.c')
-rw-r--r--sysdeps/mach/hurd/vdprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/vdprintf.c b/sysdeps/mach/hurd/vdprintf.c
index e14c295f3e..bf70de69a3 100644
--- a/sysdeps/mach/hurd/vdprintf.c
+++ b/sysdeps/mach/hurd/vdprintf.c
@@ -33,7 +33,7 @@ vdprintf (int d, const char *format, va_list arg)
   struct hurd_fd *fd;
 
   HURD_CRITICAL_BEGIN;
-  fd = _hurd_fd_get (fd);
+  fd = _hurd_fd_get (d);
   HURD_CRITICAL_END;
 
   if (!fd)