git: kernel: Pass a real format string to functions which expect one.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 4 14:32:31 PDT 2012


commit a7a9566230a8b1ccb77f407588ebc35b9a831a1e
Author: Sascha Wildner <saw at online.de>
Date:   Wed Apr 4 23:31:43 2012 +0200

    kernel: Pass a real format string to functions which expect one.
    
    This is safer than just passing a random string.
    
    A few of these changes might be overly cautious but it doesn't
    hurt to stick with using formats where they are expected more
    or less generally.

Summary of changes:
 sys/bus/usb/usb.c                     |    2 +-
 sys/dev/acpica5/acpi_asus/acpi_asus.c |    2 +-
 sys/dev/misc/dcons/dcons_os.c         |    4 ++--
 sys/dev/netif/en_pci/if_en_pci.c      |    4 ++--
 sys/dev/raid/aac/aac_debug.c          |    2 +-
 sys/dev/raid/twa/tw_cl_misc.c         |    2 +-
 sys/kern/kern_kthread.c               |    3 +--
 sys/kern/subr_bus.c                   |    2 +-
 sys/kern/subr_disk.c                  |    2 +-
 sys/kern/vfs_conf.c                   |    2 +-
 sys/netinet/ip_divert.c               |    2 +-
 sys/vm/vm_zone.c                      |    2 +-
 12 files changed, 14 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a7a9566230a8b1ccb77f407588ebc35b9a831a1e


-- 
DragonFly BSD source repository





More information about the Commits mailing list