diff options
author | 2005-10-10 08:17:46 +0000 | |
---|---|---|
committer | 2005-10-10 08:17:46 +0000 | |
commit | 099ad155672bee6fa01e45ea5df2bc49aa3dc9b6 (patch) | |
tree | 947933df3fc9e2509aef8a28bb677a5455f1d1d1 | |
parent | Avoid arithmetic overflows in computation of adjtime(). Fixes adjusting in the (diff) | |
download | wireguard-openbsd-099ad155672bee6fa01e45ea5df2bc49aa3dc9b6.tar.xz wireguard-openbsd-099ad155672bee6fa01e45ea5df2bc49aa3dc9b6.zip |
do { } while (0) wrapper for the debug statement
-rw-r--r-- | sys/dev/ic/ami.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index 468f2070a1d..ee87d0feab2 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.92 2005/10/03 21:11:14 krw Exp $ */ +/* $OpenBSD: ami.c,v 1.93 2005/10/10 08:17:46 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -69,7 +69,7 @@ #include "bio.h" #ifdef AMI_DEBUG -#define AMI_DPRINTF(m,a) if (ami_debug & (m)) printf a +#define AMI_DPRINTF(m,a) do { if (ami_debug & (m)) printf a; } while (0) #define AMI_D_CMD 0x0001 #define AMI_D_INTR 0x0002 #define AMI_D_MISC 0x0004 |