diff options
author | ru <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-12-04 02:12:43 +0000 |
commit | 522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 (patch) | |
tree | f3ce65232b57836f87c8dc38dfcc8fbb95679c5d /sys/dev/hptmv | |
parent | 7b7fd248389b497235a0e9dcef2aff317880a15b (diff) | |
download | FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.zip FreeBSD-src-522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3.tar.gz |
Fix -Wundef.
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 a179e32..b38ef38 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 ef78c94..510f790 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); \ |