From owner-freebsd-current Wed Jul 10 13:14:30 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B89BE37B406; Wed, 10 Jul 2002 13:14:26 -0700 (PDT) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7784B43E58; Wed, 10 Jul 2002 13:14:25 -0700 (PDT) (envelope-from keramida@FreeBSD.org) Received: from hades.hell.gr (patr364-a18.otenet.gr [195.167.109.50]) by mailsrv.otenet.gr (8.12.4/8.12.4) with ESMTP id g6AKEMHw003909; Wed, 10 Jul 2002 23:14:23 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.5/8.12.5) with ESMTP id g6AKEK9J002722; Wed, 10 Jul 2002 23:14:20 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Received: (from charon@localhost) by hades.hell.gr (8.12.5/8.12.5/Submit) id g6AHNkZt001423; Wed, 10 Jul 2002 20:23:46 +0300 (EEST) (envelope-from keramida@FreeBSD.org) Date: Wed, 10 Jul 2002 20:23:46 +0300 From: Giorgos Keramidas To: Dag-Erling Smorgrav Cc: current@FreeBSD.org Subject: Re: sparc64 tinderbox failure Message-ID: <20020710172346.GB1118@hades.hell.gr> References: <200207100958.g6A9wFmY072199@bowie.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200207100958.g6A9wFmY072199@bowie.private> X-Operating-System: FreeBSD 5.0-CURRENT i386 X-PGP-Fingerprint: C1EB 0653 DB8B A557 3829 00F9 D60F 941A 3186 03B6 X-Phone: +30-944-116520 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-07-10 09:58 +0000, Dag-Erling Smorgrav wrote: > ===> bin/chmod > cc1: warnings being treated as errors > /usr/home/des/tinderbox/sparc64/src/bin/chmod/chmod.c: In function `main': > /usr/home/des/tinderbox/sparc64/src/bin/chmod/chmod.c:174: warning: null format string How does this look for fixing this warning? %%% Index: chmod.c =================================================================== RCS file: /home/ncvs/src/bin/chmod/chmod.c,v retrieving revision 1.25 diff -u -r1.25 chmod.c --- chmod.c 30 Jun 2002 05:13:52 -0000 1.25 +++ chmod.c 10 Jul 2002 17:22:22 -0000 @@ -171,7 +171,7 @@ } if ((ftsp = fts_open(++argv, fts_options, 0)) == NULL) - err(1, NULL); + err(1, "%s: %s", *argv, strerror(p->fts_errno)); for (rval = 0; (p = fts_read(ftsp)) != NULL;) { switch (p->fts_info) { case FTS_D: /* Change it at FTS_DP. */ %%% To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message