mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 08:25:22 -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. |
||
|---|---|---|
| .. | ||
| scsi | ||
| cam.c | ||
| cam.h | ||
| cam_ccb.h | ||
| cam_debug.h | ||
| cam_periph.c | ||
| cam_periph.h | ||
| cam_queue.c | ||
| cam_queue.h | ||
| cam_sim.c | ||
| cam_sim.h | ||
| cam_xpt.c | ||
| cam_xpt.h | ||
| cam_xpt_periph.h | ||
| cam_xpt_sim.h | ||
| README.quirks | ||
/* $FreeBSD$ */ This is a place holder for instructions about how both committers and non-committers should submit device quirks.