use 'pid_t' for pipe_pgid, rather that 'gid_t'

this fixes the code in pipeselwakeup() to properly send signal to process group

Problem found by Anders Magnusson, using gcc 3.2 with pdp-10 target.
This commit is contained in:
jdolecek 2002-08-16 10:32:12 +00:00
parent 4f9cdf2197
commit d23ad48af9
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pipe.h,v 1.11 2002/03/13 20:51:37 jdolecek Exp $ */
/* $NetBSD: pipe.h,v 1.12 2002/08/16 10:32:12 jdolecek Exp $ */
/*
* Copyright (c) 1996 John S. Dyson
@ -137,7 +137,7 @@ struct pipe {
struct timeval pipe_atime; /* time of last access */
struct timeval pipe_mtime; /* time of last modify */
struct timeval pipe_ctime; /* time of status change */
gid_t pipe_pgid; /* process group for sigio */
pid_t pipe_pgid; /* process group for sigio */
struct lock pipe_lock; /* pipe lock */
#endif
struct pipe *pipe_peer; /* link with other direction */