kernel: Don't pass the size of the var as arg2 to sysctl_handle_int().
authorSascha Wildner <saw@online.de>
Sun, 3 Aug 2014 01:08:37 +0000 (03:08 +0200)
committerSascha Wildner <saw@online.de>
Sun, 3 Aug 2014 01:08:37 +0000 (03:08 +0200)
commit4520cefcef52ac2e5f26e70fcef4be1111290d27
treecd343d70afa4ec0c2b49ebaf689f403741e12d6f
parenteccae83bb2bf2a4c6fd28eb4713431efc353b929
kernel: Don't pass the size of the var as arg2 to sysctl_handle_int().

arg1 (second parameter) is for passing a variable and arg2 (third
parameter) is for passing a constant (in which case arg1 is NULL).
14 files changed:
sys/ddb/db_sysctl.c
sys/dev/acpica/acpi_timer.c
sys/dev/sound/pci/es137x.c
sys/dev/sound/pci/via8233.c
sys/dev/sound/pcm/channel.c
sys/dev/sound/pcm/feeder_rate.c
sys/dev/sound/pcm/sndstat.c
sys/dev/sound/pcm/sound.c
sys/dev/sound/pcm/vchan.c
sys/dev/usbmisc/ubt/ubt.c
sys/dev/usbmisc/uplcom/uplcom.c
sys/dev/usbmisc/uticom/uticom.c
sys/netgraph/pppoe/ng_pppoe.c
sys/platform/pc32/i386/mp_clock.c