about summary refs log tree commit diff
path: root/hurd/hurdprio.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-26 23:28:24 +0000
committerRoland McGrath <roland@gnu.org>1999-07-26 23:28:24 +0000
commit70aabf757c82eb466aa86dae790a83cd6b5cc69d (patch)
tree9152f9bae0308ed6f80afb5eeffb835c9a2c9baf /hurd/hurdprio.c
parentff5c72ff503219759745f764e6482acc4175241e (diff)
downloadglibc-70aabf757c82eb466aa86dae790a83cd6b5cc69d.tar.gz
glibc-70aabf757c82eb466aa86dae790a83cd6b5cc69d.tar.xz
glibc-70aabf757c82eb466aa86dae790a83cd6b5cc69d.zip
1999-07-26 Roland McGrath <roland@baalperazim.frob.com>
	* hurd/hurdprio.c (_hurd_priority_which_map): Initialize PIDS.
	Fix from Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
Diffstat (limited to 'hurd/hurdprio.c')
-rw-r--r--hurd/hurdprio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hurd/hurdprio.c b/hurd/hurdprio.c
index d3da694ef1..ba95421c22 100644
--- a/hurd/hurdprio.c
+++ b/hurd/hurdprio.c
@@ -1,5 +1,5 @@
 /* Support code for dealing with priorities in the Hurd.
-   Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1994,95,96,97,99 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
@@ -26,7 +26,7 @@ _hurd_priority_which_map (enum __priority_which which, int who,
 			  int pi_flags)
 {
   mach_msg_type_number_t npids = 64, i;
-  pid_t pidbuf[npids], *pids;
+  pid_t pidbuf[npids], *pids = pidbuf;
   error_t err;
   struct procinfo *pip;
   int pibuf[sizeof *pip + 5 * sizeof (pip->threadinfos[0])], *pi = pibuf;