diff options
author | marcel <marcel@FreeBSD.org> | 2004-07-10 20:57:43 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-07-10 20:57:43 +0000 |
commit | 5871b498c894b6a1b8d522a0260d3ce3d338cffc (patch) | |
tree | 8eb1aef6317d86d048ccd463280860248d6f4494 /sys/dev | |
parent | f4488175f3640130b2bfc0a88fd3fd363c32a44f (diff) | |
download | FreeBSD-src-5871b498c894b6a1b8d522a0260d3ce3d338cffc.zip FreeBSD-src-5871b498c894b6a1b8d522a0260d3ce3d338cffc.tar.gz |
Update for the KDB framework:
o Remove inclusion of opt_ddb.h
o Make debugging code conditional upon KDB.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ct/ct.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ct/ct.c b/sys/dev/ct/ct.c index cb97ee1..eb87dbf 100644 --- a/sys/dev/ct/ct.c +++ b/sys/dev/ct/ct.c @@ -39,8 +39,6 @@ __FBSDID("$FreeBSD$"); * POSSIBILITY OF SUCH DAMAGE. */ -#include "opt_ddb.h" - #include <sys/param.h> #include <sys/systm.h> #include <sys/kernel.h> @@ -1003,10 +1001,10 @@ again: scsi_low_print(slp, NULL); printf("%s: scsi_status 0x%x\n\n", slp->sl_xname, (u_int) scsi_status); -#ifdef DDB +#ifdef KDB if (ct_debug > 1) SCSI_LOW_DEBUGGER("ct"); -#endif /* DDB */ +#endif /* KDB */ } #endif /* CT_DEBUG */ |