error = soo_stat((struct socket *)fp->f_fglob->fg_data, (void *)&stb, 0);
else
#endif /* SOCKETS */
error = pipe_stat((struct pipe *)fp->f_fglob->fg_data, (void *)&stb, 0);
if (error == 0) {
error = soo_stat((struct socket *)fp->f_fglob->fg_data, (void *)&stb, 0);
else
#endif /* SOCKETS */
error = pipe_stat((struct pipe *)fp->f_fglob->fg_data, (void *)&stb, 0);
if (error == 0) {