1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Changed second argument in a call to sf_buf_free() to be NULL instead of

PAGE_SIZE to match the prototype better. The argument is ignored, so this
is just to silence the compile-time warning.

Pointed out by:	jhb
This commit is contained in:
David Greenman 2000-12-03 01:35:46 +00:00
parent b4c6727a3a
commit 8f9a5273a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69540

View File

@ -1705,7 +1705,7 @@ sendfile(struct proc *p, struct sendfile_args *uap)
MGETHDR(m, M_WAIT, MT_DATA);
if (m == NULL) {
error = ENOBUFS;
sf_buf_free((void *)sf->kva, PAGE_SIZE);
sf_buf_free((void *)sf->kva, NULL);
goto done;
}
/*