summaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2002-03-22 14:49:12 +0000
committerRobert Watson <rwatson@FreeBSD.org>2002-03-22 14:49:12 +0000
commit4584bb39454f3bd7e1bbe83e086ff4000211dacf (patch)
tree688840f5aacec1a2ef0a9d6303d58a68c3f86ad3 /sys/kern/kern_prot.c
parent3c3f11563a3e5b3dff11cb8f753fb9ee28bc6a22 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 74f25bf7d3ac..562e835fd2a9 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -1353,7 +1353,7 @@ securelevel_gt(struct ucred *cr, int level)
active_securelevel = securelevel;
if (cr == NULL)
- printf("securelevel_gt: cr is NULL\n");
+ panic("securelevel_gt: cr is NULL\n");
if (cr->cr_prison != NULL) {
mtx_lock(&cr->cr_prison->pr_mtx);
active_securelevel = imax(cr->cr_prison->pr_securelevel,
@@ -1370,7 +1370,7 @@ securelevel_ge(struct ucred *cr, int level)
active_securelevel = securelevel;
if (cr == NULL)
- printf("securelevel_gt: cr is NULL\n");
+ panic("securelevel_gt: cr is NULL\n");
if (cr->cr_prison != NULL) {
mtx_lock(&cr->cr_prison->pr_mtx);
active_securelevel = imax(cr->cr_prison->pr_securelevel,