From e976638672b24f467d408f0652039b48a17645e1 Mon Sep 17 00:00:00 2001 From: lulf Date: Mon, 1 Jun 2009 09:25:32 +0000 Subject: - Add missing data argument to printf. Submitted by: Pawel Worach MFC after: 1 week --- contrib/csup/updater.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/csup') diff --git a/contrib/csup/updater.c b/contrib/csup/updater.c index ad9fbcf..d9f4210 100644 --- a/contrib/csup/updater.c +++ b/contrib/csup/updater.c @@ -1858,7 +1858,7 @@ updater_append_file(struct updater *up, struct file_update *fup, off_t pos) 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); } -- cgit v1.1