diff options
author | chris <chris@FreeBSD.org> | 2000-06-28 19:16:27 +0000 |
---|---|---|
committer | chris <chris@FreeBSD.org> | 2000-06-28 19:16:27 +0000 |
commit | ea6c5e61ca4e0e1c74432e55fe3ddbc1f4b620ae (patch) | |
tree | 38fc7165818eade01b7477cfb3c87a5405d718a9 /sys/kern/kern_event.c | |
parent | f32bce812decf70d2845eb2137672076911e470e (diff) | |
download | FreeBSD-src-ea6c5e61ca4e0e1c74432e55fe3ddbc1f4b620ae.zip FreeBSD-src-ea6c5e61ca4e0e1c74432e55fe3ddbc1f4b620ae.tar.gz |
Report a file type (S_IFIFO) in kqueue_stat().
Diffstat (limited to 'sys/kern/kern_event.c')
-rw-r--r-- | sys/kern/kern_event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index e1c2ca7..d4d73ae 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -688,6 +688,7 @@ kqueue_stat(struct file *fp, struct stat *st, struct proc *p) bzero((void *)st, sizeof(*st)); st->st_size = kq->kq_count; st->st_blksize = sizeof(struct kevent); + st->st_mode = S_IFIFO; return (0); } |