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
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 23781 Build 22728: arc lint + arc unit
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 ↗ | (On Diff #56431) | Use #ifdef COMPAT_FREEBSD11 here as well. |
head/sys/netinet/netdump/netdump_client.c | ||
---|---|---|
1143 ↗ | (On Diff #56431) | Thanks for the catch! |
Comment Actions
LGTM.
A kernel configuration without COMPAT_FREEBSD11 is building successfully again.