1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/pc98/cbus
David Malone 041b706b2f Despite several examples in the kernel, the third argument of
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.
2007-06-04 18:25:08 +00:00
..
30line.h
cbus_dma.c
cbus_dmareg.h
cbus.h
clock.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
fdc_cbus.c
fdc.c Don't call bus_deactivate_resource() explicitly before calling 2007-03-21 03:38:37 +00:00
fdcreg.h
fdcvar.h
gdc.c
nmi.c
olpt.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 20:11:27 +00:00
olptreg.h
pckbd.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
pckbdtables.h
pcrtc.c Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
pmc.c
sc_machdep.h
scgdcrndr.c
scterm-sck.c
scvtb.c
sio_cbus.c
sio.c o break newbus api: add a new argument of type driver_filter_t to 2007-02-23 12:19:07 +00:00
syscons_cbus.c Use pause() rather than tsleep() on explicit global dummy variables. 2007-02-27 17:22:30 +00:00