-/* subr_prf.c 4.12 %G% */
+/* subr_prf.c 4.13 %G% */
#include "../h/param.h"
#include "../h/systm.h"
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);
}
/*