From fdd11a14b2855b690f79541b5a43c5dfd4ea45fe Mon Sep 17 00:00:00 2001 From: Bill Joy Date: Sat, 7 Mar 1981 02:20:38 -0800 Subject: [PATCH] reformatting SCCS-vsn: sys/kern/subr_prf.c 4.13 --- usr/src/sys/kern/subr_prf.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/usr/src/sys/kern/subr_prf.c b/usr/src/sys/kern/subr_prf.c index 9108ff098b..62f1d4dc8b 100644 --- a/usr/src/sys/kern/subr_prf.c +++ b/usr/src/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* subr_prf.c 4.12 %G% */ +/* subr_prf.c 4.13 %G% */ #include "../h/param.h" #include "../h/systm.h" @@ -173,15 +173,27 @@ panic(s) boot(RB_PANIC, bootopt); } +/* + * Warn that a system table is full. + */ +tablefull(tab) + char *tab; +{ + + printf("%s: table is full\n", tab); +} + /* * Hard error is the preface to plaintive error messages - * about failing device transfers. + * about failing disk transfers. */ -harderr(bp) +harderr(bp, cp) struct buf *bp; + char *cp; { - printf("hard err bn%d ", bp->b_blkno); + printf("%s%d%c: hard error sn%d ", cp, + dkunit(bp), 'a'+(minor(bp->b_dev)&07), bp->b_blkno); } /* -- 2.20.1