summaryrefslogtreecommitdiffstats
path: root/sys/dev/agp
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2008-12-21 22:30:37 +0000
committerrnoland <rnoland@FreeBSD.org>2008-12-21 22:30:37 +0000
commit2d221e1d12f6135a8bc728faf56683c60658326a (patch)
tree51a94a155b8851b9f18084a8e263cc1b7a716afa /sys/dev/agp
parentba8a5eba4aa6943bdff5c61c43a3dddd4fa577f8 (diff)
downloadFreeBSD-src-2d221e1d12f6135a8bc728faf56683c60658326a.zip
FreeBSD-src-2d221e1d12f6135a8bc728faf56683c60658326a.tar.gz
Deal with 0 length args...
Approved by: kib
Diffstat (limited to 'sys/dev/agp')
-rw-r--r--sys/dev/agp/agppriv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/agp/agppriv.h b/sys/dev/agp/agppriv.h
index 1c80e4c..c730053 100644
--- a/sys/dev/agp/agppriv.h
+++ b/sys/dev/agp/agppriv.h
@@ -38,7 +38,7 @@
#ifdef AGP_DEBUG
#define AGP_DPF(fmt, ...) do { \
- printf("agp: " fmt, __VA_ARGS__); \
+ printf("agp: " fmt, ##__VA_ARGS__); \
} while (0)
#else
#define AGP_DPF(fmt, ...) do {} while (0)
OpenPOWER on IntegriCloud