The logic was present for the 11 version of the DIOCSKERNELDUMP ioctl, but
had not been updated for the 12 ABI.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Now a kernel configuration without COMPAT_FREEBSD11 generates the following errror:
`--- netdump_client.o ---
/usr/src/sys/netinet/netdump/netdump_client.c:1143:8: error: unused variable 'u' [-Werror,-Wunused-variable]
u_int u; ^
1 error generated.
`
head/sys/netinet/netdump/netdump_client.c | ||
---|---|---|
1143 | Use #ifdef COMPAT_FREEBSD11 here as well. |
head/sys/netinet/netdump/netdump_client.c | ||
---|---|---|
1143 | Thanks for the catch! |
Comment Actions
LGTM.
A kernel configuration without COMPAT_FREEBSD11 is building successfully again.