summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-06-01 09:25:32 +0000
committerlulf <lulf@FreeBSD.org>2009-06-01 09:25:32 +0000
commite976638672b24f467d408f0652039b48a17645e1 (patch)
tree1ccdb919e6981558c6064df75d69b5800ef0a2e2 /contrib
parent7be2e0fb7a3b7929f15996593a836e337f7b0d2f (diff)
downloadFreeBSD-src-e976638672b24f467d408f0652039b48a17645e1.zip
FreeBSD-src-e976638672b24f467d408f0652039b48a17645e1.tar.gz
- Add missing data argument to printf.
Submitted by: Pawel Worach <pawel.worach -AT- gmail.com> MFC after: 1 week
Diffstat (limited to 'contrib')
-rw-r--r--contrib/csup/updater.c2
1 files changed, 1 insertions, 1 deletions
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);
}
OpenPOWER on IntegriCloud