projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reformatting
[unix-history]
/
usr
/
src
/
sys
/
kern
/
subr_prf.c
diff --git
a/usr/src/sys/kern/subr_prf.c
b/usr/src/sys/kern/subr_prf.c
index
9108ff0
..
62f1d4d
100644
(file)
--- a/
usr/src/sys/kern/subr_prf.c
+++ b/
usr/src/sys/kern/subr_prf.c
@@
-1,4
+1,4
@@
-/* subr_prf.c 4.1
2
%G% */
+/* subr_prf.c 4.1
3
%G% */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
@@
-173,15
+173,27
@@
panic(s)
boot(RB_PANIC, bootopt);
}
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
/*
* Hard error is the preface to plaintive error messages
- * about failing d
evice
transfers.
+ * about failing d
isk
transfers.
*/
*/
-harderr(bp)
+harderr(bp
, cp
)
struct buf *bp;
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);
}
/*
}
/*