svn commit: r186385 - head/sys/dev/agp

Robert Noland rnoland at FreeBSD.org
Sun Dec 21 22:30:37 UTC 2008


Author: rnoland
Date: Sun Dec 21 22:30:37 2008
New Revision: 186385
URL: http://svn.freebsd.org/changeset/base/186385

Log:
  Deal with 0 length args...
  
  Approved by:	kib

Modified:
  head/sys/dev/agp/agppriv.h

Modified: head/sys/dev/agp/agppriv.h
==============================================================================
--- head/sys/dev/agp/agppriv.h	Sun Dec 21 22:00:39 2008	(r186384)
+++ head/sys/dev/agp/agppriv.h	Sun Dec 21 22:30:37 2008	(r186385)
@@ -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)


More information about the svn-src-all mailing list