diff options
| author | John-Mark Gurney <jmg@FreeBSD.org> | 2003-08-15 04:31:01 +0000 |
|---|---|---|
| committer | John-Mark Gurney <jmg@FreeBSD.org> | 2003-08-15 04:31:01 +0000 |
| commit | fc8684cd46b48e187805f79db1715a5e6420c618 (patch) | |
| tree | d2081122c6f99ed1495dcb5b20664e442404affc | |
| parent | 5466a9cb4c5a23e080c2a10ade50ee1a64767bd5 (diff) | |
Notes
| -rw-r--r-- | sys/kern/sys_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c index 7d39b8c63740..e003d5e9d685 100644 --- a/sys/kern/sys_pipe.c +++ b/sys/kern/sys_pipe.c @@ -1487,7 +1487,7 @@ pipe_kqfilter(struct file *fp, struct knote *kn) cpipe = cpipe->pipe_peer; if (cpipe == NULL) /* other end of pipe has been closed */ - return (EBADF); + return (EPIPE); break; default: return (1); |
