mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
sysctl_handle_int is not sizeof the int type you want to export. The type must always be an int or an unsigned int. Remove the instances where a sizeof(variable) is passed to stop people accidently cut and pasting these examples. In a few places this was sysctl_handle_int was being used on 64 bit types, which would truncate the value to be exported. In these cases use sysctl_handle_quad to export them and change the format to Q so that sysctl(1) can still print them. |
||
|---|---|---|
| .. | ||
| atrtc.c | ||
| isa_common.c | ||
| isa_common.h | ||
| isa_dmareg.h | ||
| isa_if.m | ||
| isahint.c | ||
| isareg.h | ||
| isavar.h | ||
| orm.c | ||
| pnp.c | ||
| pnpparse.c | ||
| pnpreg.h | ||
| pnpvar.h | ||
| rtc.h | ||
| syscons_isa.c | ||
| vga_isa.c | ||