summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>2002-06-08 04:51:05 +0000
committerart <art@openbsd.org>2002-06-08 04:51:05 +0000
commitf05a46cb6269a99a1ede2daae24daa31480e43be (patch)
tree91575eadc65779f9c56d34e397fc3ce5a2a2062b
parentLet this build when the internal DIAGNOSTIC define is removed. (diff)
downloadwireguard-openbsd-f05a46cb6269a99a1ede2daae24daa31480e43be.tar.xz
wireguard-openbsd-f05a46cb6269a99a1ede2daae24daa31480e43be.zip
Remove this horror DIAGNOSTIC define. It was just ugly when it
was introduced, but now it causes crashes when kernels are built without DIAGNOSTIC. Instead of trying to debug this incorrect code, I'm just removing this abomination.
-rw-r--r--sys/ufs/ffs/ffs_softdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c
index 17497459d83..ae95e681c3c 100644
--- a/sys/ufs/ffs/ffs_softdep.c
+++ b/sys/ufs/ffs/ffs_softdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_softdep.c,v 1.38 2002/06/08 04:44:01 art Exp $ */
+/* $OpenBSD: ffs_softdep.c,v 1.39 2002/06/08 04:51:05 art Exp $ */
/*
* Copyright 1998, 2000 Marshall Kirk McKusick. All Rights Reserved.
*
@@ -40,13 +40,6 @@
* $FreeBSD: src/sys/ufs/ffs/ffs_softdep.c,v 1.86 2001/02/04 16:08:18 phk Exp $
*/
-/*
- * For now we want the safety net that the DIAGNOSTIC flag provide.
- */
-#ifndef DIAGNOSTIC
-#define DIAGNOSTIC
-#endif
-
#include <sys/param.h>
#include <sys/buf.h>
#include <sys/kernel.h>