Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2008 22:30:37 +0000 (UTC)
From:      Robert Noland <rnoland@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186385 - head/sys/dev/agp
Message-ID:  <200812212230.mBLMUbbt043962@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812212230.mBLMUbbt043962>