- Add missing data argument to printf.

Submitted by:	Pawel Worach <pawel.worach -AT- gmail.com>
MFC after:	1 week
This commit is contained in:
Ulf Lilleengen 2009-06-01 09:25:32 +00:00
parent f0fa0e7faa
commit 95bac762d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193213

View File

@ -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);
}