diff --git a/sys/miscfs/fifofs/fifo.h b/sys/miscfs/fifofs/fifo.h index c8b7450bcd64..0a9dda4a942e 100644 --- a/sys/miscfs/fifofs/fifo.h +++ b/sys/miscfs/fifofs/fifo.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)fifo.h 7.1 (Berkeley) 4/15/91 - * $Id: fifo.h,v 1.5 1993/09/07 15:41:53 ws Exp $ + * $Id: fifo.h,v 1.6 1994/01/05 11:34:44 cgd Exp $ */ #ifndef _SYS_FIFO_H_ @@ -173,7 +173,7 @@ int fifo_bmap __P(( daddr_t *bnp)); #define fifo_strategy ((int (*) __P(( \ struct buf *bp))) fifo_badop) -void fifo_print __P(( +int fifo_print __P(( struct vnode *vp)); void fifo_printinfo __P(( struct vnode *vp)); diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c index 53722154a494..b89f84e2a178 100644 --- a/sys/miscfs/fifofs/fifo_vnops.c +++ b/sys/miscfs/fifofs/fifo_vnops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)fifo_vnops.c 7.7 (Berkeley) 4/15/91 - * $Id: fifo_vnops.c,v 1.6 1993/12/18 03:49:25 mycroft Exp $ + * $Id: fifo_vnops.c,v 1.7 1994/01/05 11:34:51 cgd Exp $ */ #include @@ -385,7 +385,7 @@ fifo_close(vp, fflag, cred, p) /* * Print out the contents of a fifo vnode. */ -void +int fifo_print(vp) struct vnode *vp; { @@ -393,6 +393,7 @@ fifo_print(vp) printf("tag VT_NON"); fifo_printinfo(vp); printf("\n"); + return (0); } /*