diff options
| author | Don Lewis <truckman@FreeBSD.org> | 2002-10-03 02:13:00 +0000 |
|---|---|---|
| committer | Don Lewis <truckman@FreeBSD.org> | 2002-10-03 02:13:00 +0000 |
| commit | 91e97a8266d38eb58a566fef3ea7c2353b20fd37 (patch) | |
| tree | a99f59036961904f8470031c60cd1319fed1c7b9 /sys/kern/sys_pipe.c | |
| parent | 5da2b58aeb4d5bc16b135ed4bea93e94dd900422 (diff) | |
Notes
Diffstat (limited to 'sys/kern/sys_pipe.c')
| -rw-r--r-- | sys/kern/sys_pipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 09312622df15..7acaf9d0dae4 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1204,7 +1204,7 @@ pipe_ioctl(fp, cmd, data, active_cred, td) case FIOGETOWN: PIPE_UNLOCK(mpipe); - *(int *)data = fgetown(mpipe->pipe_sigio); + *(int *)data = fgetown(&mpipe->pipe_sigio); return (0); /* This is deprecated, FIOSETOWN should be used instead. */ @@ -1215,7 +1215,7 @@ pipe_ioctl(fp, cmd, data, active_cred, td) /* This is deprecated, FIOGETOWN should be used instead. */ case TIOCGPGRP: PIPE_UNLOCK(mpipe); - *(int *)data = -fgetown(mpipe->pipe_sigio); + *(int *)data = -fgetown(&mpipe->pipe_sigio); return (0); } |
