- Add missing data argument to printf.
Submitted by: Pawel Worach <pawel.worach -AT- gmail.com> MFC after: 1 week
This commit is contained in:
parent
f0fa0e7faa
commit
95bac762d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193213
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user