--- src/sys/dev/misc/streams/Attic/streams.c 2005/06/21 23:58:53 1.15 +++ src/sys/dev/misc/streams/Attic/streams.c 2005/06/22 01:33:24 1.16 @@ -242,7 +242,7 @@ streamsopen(dev_t dev, int oflags, int d return error; if ((error = socreate(family, &so, type, protocol, td)) != 0) { - if (p->p_fd->fd_ofiles[fd] == fp) { + if (p->p_fd->fd_files[fd].fp == fp) { funsetfd(p->p_fd, fd); fdrop(fp, td); }