From: Bill Joy Date: Sat, 7 Mar 1981 10:20:38 +0000 (-0800) Subject: reformatting X-Git-Tag: BSD-4_1_snap-Snapshot-Development~1892 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/fdd11a14b2855b690f79541b5a43c5dfd4ea45fe?ds=inline;hp=1c509b5e5e54b1a61cc8b2af0778ff0e0ed8b9d6 reformatting SCCS-vsn: sys/kern/subr_prf.c 4.13 --- 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); } /*