From owner-freebsd-ports Thu Oct 24 16: 0:18 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9907237B401 for ; Thu, 24 Oct 2002 16:00:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 547A243E65 for ; Thu, 24 Oct 2002 16:00:17 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9ON0Hx3059037 for ; Thu, 24 Oct 2002 16:00:17 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9ON0Hb2059036; Thu, 24 Oct 2002 16:00:17 -0700 (PDT) Date: Thu, 24 Oct 2002 16:00:17 -0700 (PDT) Message-Id: <200210242300.g9ON0Hb2059036@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Edwin Groothuis Subject: Re: ports/44445: ports/gtkballs fails to build Reply-To: Edwin Groothuis Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/44445; it has been noted by GNATS. From: Edwin Groothuis To: GuRU Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/44445: ports/gtkballs fails to build Date: Fri, 25 Oct 2002 08:54:30 +1000 On Thu, Oct 24, 2002 at 06:21:31PM +0000, GuRU wrote: > - fprintf(stderr, __func__ ": open() %s failed: %s\n", fname, strerror(errno)); > + fprintf(stderr, ": open() %s failed: %s\n", fname, strerror(errno)); I think it should be replaced with fprintf(stderr, __FUNCTION__": open() %s failed: %s\n", fname, strerror(errno)); or even better: fprintf(stderr, "%s: open() %s failed: %s\n", __FUNCTION__, fname, strerror(errno)); ^--- this compiles without warnings Please don't forget to give this feedback to the author of gtkballs. Edwin -- Edwin Groothuis | Personal website: http://www.MavEtJu.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message