Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Oct 2002 16:00:17 -0700 (PDT)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/44445: ports/gtkballs fails to build
Message-ID:  <200210242300.g9ON0Hb2059036@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/44445; it has been noted by GNATS.

From: Edwin Groothuis <edwin@mavetju.org>
To: GuRU <guru@goku.cl.msu.edu>
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




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