Tue May 7 10:51:52 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Wed, 8 May 1996 02:06:13 +0000 (02:06 +0000)
committerroland <roland>
Wed, 8 May 1996 02:06:13 +0000 (02:06 +0000)
* hurd/hurdprio.c (_hurd_priority_which_map): Pass flags arg to
proc_getprocinfo by reference.

hurd/hurdprio.c

index bbbe317..66ef416 100644 (file)
@@ -1,5 +1,5 @@
 /* Support code for dealing with priorities in the Hurd.
-Copyright (C) 1994, 1995 Free Software Foundation, Inc.
+Copyright (C) 1994, 1995, 1996 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
@@ -62,7 +62,7 @@ _hurd_priority_which_map (enum __priority_which which, int who,
          char *tw = 0;
          size_t twsz = 0;
          if (err = __USEPORT (PROC, __proc_getprocinfo (port, pids[i],
-                                                        pi_flags,
+                                                        &pi_flags,
                                                         &pi, &pisize,
                                                         &tw, &twsz)))
            continue;