summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/umapfs
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-08-30 07:08:04 +0000
committerbde <bde@FreeBSD.org>1999-08-30 07:08:04 +0000
commit2115d514808c97d65cb8279536d12f603c5fd1c5 (patch)
tree7a536d81e5345060637b9a89b7767290872cd5df /sys/miscfs/umapfs
parent308b546022d07e164a704828ac1511f542a12f45 (diff)
downloadFreeBSD-src-2115d514808c97d65cb8279536d12f603c5fd1c5.zip
FreeBSD-src-2115d514808c97d65cb8279536d12f603c5fd1c5.tar.gz
Converted the silly SAFTEY option into a new-style option by renaming it to
DIAGNOSTIC. Fixed an English style bug in the panic messages controlled by SAFETY.
Diffstat (limited to 'sys/miscfs/umapfs')
-rw-r--r--sys/miscfs/umapfs/umap_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/umapfs/umap_vnops.c b/sys/miscfs/umapfs/umap_vnops.c
index 0b73ccb..02135b2 100644
--- a/sys/miscfs/umapfs/umap_vnops.c
+++ b/sys/miscfs/umapfs/umap_vnops.c
@@ -93,13 +93,13 @@ umap_bypass(ap)
if (umap_bug_bypass)
printf ("umap_bypass: %s\n", descp->vdesc_name);
-#ifdef SAFETY
+#ifdef DIAGNOSTIC
/*
* We require at least one vp.
*/
if (descp->vdesc_vp_offsets == NULL ||
descp->vdesc_vp_offsets[0] == VDESC_NO_OFFSET)
- panic ("umap_bypass: no vp's in map.");
+ panic ("umap_bypass: no vp's in map");
#endif
/*
OpenPOWER on IntegriCloud