mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
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>.
This commit is contained in:
parent
ff5c72ff50
commit
70aabf757c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user