mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
Fix kernel build.
Reported by: tinderbox
This commit is contained in:
parent
d8e87d835b
commit
e68796868a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149551
|
@ -2214,7 +2214,7 @@ linux_ifconf(struct thread *td, struct ifconf *uifc)
|
|||
|
||||
ifc.ifc_len = valid_len;
|
||||
sbuf_finish(sb);
|
||||
memcpy(ifc.ifc_buf, sbuf_data(sb), ifc.ifc_len);
|
||||
memcpy(PTRIN(ifc.ifc_buf), sbuf_data(sb), ifc.ifc_len);
|
||||
error = copyout(&ifc, uifc, sizeof(ifc));
|
||||
sbuf_delete(sb);
|
||||
|
||||
|
|
Loading…
Reference in a new issue