git: kernel: Don't pass the size of the var as arg2 to sysctl_handle_int().

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Aug 2 18:11:12 PDT 2014


commit 4520cefcef52ac2e5f26e70fcef4be1111290d27
Author: Sascha Wildner <saw at online.de>
Date:   Sun Aug 3 03:08:37 2014 +0200

    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).

Summary of changes:
 sys/ddb/db_sysctl.c               | 5 ++---
 sys/dev/acpica/acpi_timer.c       | 2 +-
 sys/dev/sound/pci/es137x.c        | 8 ++++----
 sys/dev/sound/pci/via8233.c       | 4 ++--
 sys/dev/sound/pcm/channel.c       | 2 +-
 sys/dev/sound/pcm/feeder_rate.c   | 8 ++++----
 sys/dev/sound/pcm/sndstat.c       | 2 +-
 sys/dev/sound/pcm/sound.c         | 7 +++----
 sys/dev/sound/pcm/vchan.c         | 2 +-
 sys/dev/usbmisc/ubt/ubt.c         | 2 +-
 sys/dev/usbmisc/uplcom/uplcom.c   | 2 +-
 sys/dev/usbmisc/uticom/uticom.c   | 2 +-
 sys/netgraph/pppoe/ng_pppoe.c     | 2 +-
 sys/platform/pc32/i386/mp_clock.c | 2 +-
 14 files changed, 24 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4520cefcef52ac2e5f26e70fcef4be1111290d27


-- 
DragonFly BSD source repository



More information about the Commits mailing list