Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 09:25:32 +0000 (UTC)
From:      Ulf Lilleengen <lulf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193213 - head/contrib/csup
Message-ID:  <200906010925.n519PWad071145@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lulf
Date: Mon Jun  1 09:25:32 2009
New Revision: 193213
URL: http://svn.freebsd.org/changeset/base/193213

Log:
  - Add missing data argument to printf.
  
  Submitted by:	Pawel Worach <pawel.worach -AT- gmail.com>
  MFC after:	1 week

Modified:
  head/contrib/csup/updater.c

Modified: head/contrib/csup/updater.c
==============================================================================
--- head/contrib/csup/updater.c	Mon Jun  1 09:03:55 2009	(r193212)
+++ head/contrib/csup/updater.c	Mon Jun  1 09:25:32 2009	(r193213)
@@ -1858,7 +1858,7 @@ updater_append_file(struct updater *up, 
 			goto bad;
 	}
 	if (nread == -1) {
-		xasprintf(&up->errmsg, "%s: Error reading: %s",
+		xasprintf(&up->errmsg, "%s: Error reading: %s", fup->destpath,
 		    strerror(errno));
 		return (UPDATER_ERR_MSG);
 	}



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