From owner-svn-src-all@FreeBSD.ORG Sun Dec 21 22:50:25 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C30341065673; Sun, 21 Dec 2008 22:50:25 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from viefep18-int.chello.at (viefep22-int.chello.at [62.179.121.42]) by mx1.freebsd.org (Postfix) with ESMTP id 76FE68FC19; Sun, 21 Dec 2008 22:50:24 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from edge01.upc.biz ([192.168.13.236]) by viefep20-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20081221223354.FEVG12903.viefep20-int.chello.at@edge01.upc.biz>; Sun, 21 Dec 2008 23:33:54 +0100 Received: from lizard.fafoe.narf.at ([213.47.85.26]) by edge01.upc.biz with edge id tyZs1a04i0a5KZh01yZtZ8; Sun, 21 Dec 2008 23:33:54 +0100 X-SourceIP: 213.47.85.26 Received: by lizard.fafoe.narf.at (Postfix, from userid 1001) id 93219BC84; Sun, 21 Dec 2008 23:33:40 +0100 (CET) Date: Sun, 21 Dec 2008 23:33:40 +0100 From: Stefan Farfeleder To: Robert Noland Message-ID: <20081221223339.GA1359@lizard.fafoe.narf.at> References: <200812212230.mBLMUbbt043962@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812212230.mBLMUbbt043962@svn.freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r186385 - head/sys/dev/agp X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Dec 2008 22:50:25 -0000 On Sun, Dec 21, 2008 at 10:30:37PM +0000, Robert Noland wrote: > 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) > This is a GCC extension and kind of defeats the point of using the C99 syntax.