diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
| commit | f4e98881073f261956da27827173b990cd9c7bd5 (patch) | |
| tree | f3ce65232b57836f87c8dc38dfcc8fbb95679c5d /sys/dev/hptmv | |
| parent | 9eac5bb9e20956fc30dfff2eef0261dc0a274e58 (diff) | |
Notes
Diffstat (limited to 'sys/dev/hptmv')
| -rw-r--r-- | sys/dev/hptmv/hptproc.c | 2 | ||||
| -rw-r--r-- | sys/dev/hptmv/mvOs.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/hptmv/hptproc.c b/sys/dev/hptmv/hptproc.c index a179e320d55e9..b38ef385688de 100644 --- a/sys/dev/hptmv/hptproc.c +++ b/sys/dev/hptmv/hptproc.c @@ -233,7 +233,7 @@ loop: #endif #endif if (0) {} /* just to compile */ -#if DBGUG +#ifdef DEBUG else if (length>=9 && strncmp(buffer, "dbglevel ", 9)==0) { buffer+=9; length-=9; diff --git a/sys/dev/hptmv/mvOs.h b/sys/dev/hptmv/mvOs.h index ef78c94644f52..510f790f09154 100644 --- a/sys/dev/hptmv/mvOs.h +++ b/sys/dev/hptmv/mvOs.h @@ -28,7 +28,7 @@ #ifndef __INCmvOsBsdh #define __INCmvOsBsdh -#if DBG +#ifdef DBG #define MV_DEBUG_LOG #endif @@ -131,7 +131,7 @@ int mvLogMsg(MV_U8, MV_CHAR_PTR, ...); /************************************************************************* * Debug support *************************************************************************/ -#if DEBUG +#ifdef DEBUG #define HPT_ASSERT(x) do { if (!(x)) { \ printf("ASSERT fail at %s line %d", __FILE__, __LINE__); \ while (1); \ |
