diff options
author | Dimitry Andric <dim@cvs.openbsd.org> | 2006-11-26 18:35:52 +0000 |
---|---|---|
committer | Dimitry Andric <dim@cvs.openbsd.org> | 2006-11-26 18:35:52 +0000 |
commit | a7e4f4a8a43c29f3417897e27653fe3ed9b74989 (patch) | |
tree | 876fce11f35b14d073fb98499a316d51662b58a2 /sys | |
parent | be4c1490ba64d05bee127e5375fef397f29e77f0 (diff) |
Make sure AGP debug printfs actually compile.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/agpvar.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h index 5d0113d5fb9..af48de0a53a 100644 --- a/sys/dev/pci/agpvar.h +++ b/sys/dev/pci/agpvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: agpvar.h,v 1.4 2006/03/10 21:52:02 matthieu Exp $ */ +/* $OpenBSD: agpvar.h,v 1.5 2006/11/26 18:35:51 dim Exp $ */ /* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */ /*- @@ -37,12 +37,9 @@ /* #define AGP_DEBUG */ #ifdef AGP_DEBUG -#define AGP_DPF(x...) do { \ - printf("agp: "); \ - printf(##x); \ -} while (0) +#define AGP_DPF(fmt, arg...) do { printf("agp: " fmt ,##arg); } while (0) #else -#define AGP_DPF(x...) do {} while (0) +#define AGP_DPF(fmt, arg...) do {} while (0) #endif #define AGPUNIT(x) minor(x) |