git: In userland, fix printf(-like) calls without literal format and no args.

Sascha Wildner swildner at crater.dragonflybsd.org
Mon Jan 6 13:09:36 PST 2014


commit 9462167aa18776bf92c161a3c65740189ffe8912
Author: Sascha Wildner <saw at online.de>
Date:   Mon Jan 6 21:26:51 2014 +0100

    In userland, fix printf(-like) calls without literal format and no args.
    
    I.e., silence gcc's -Wformat-security warnings (in non-contrib code).

Summary of changes:
 games/factor/factor.c                              |  3 +--
 games/hack/hack.eat.c                              |  3 +--
 games/hack/hack.end.c                              |  4 ++--
 games/hack/hack.invent.c                           |  4 ++--
 games/hack/hack.main.c                             |  2 +-
 games/hack/hack.options.c                          |  3 +--
 games/hack/hack.pager.c                            |  4 ++--
 games/hack/hack.potion.c                           |  3 +--
 games/hack/hack.rumors.c                           |  2 +-
 games/hack/hack.timeout.c                          |  3 +--
 games/hunt/hunt/hunt.c                             |  5 ++---
 lib/libc/sys/stack_protector.c                     |  2 +-
 lib/libtcplay/io.c                                 |  2 +-
 lib/libypclnt/ypclnt_passwd.c                      |  4 ++--
 libexec/ftpd/ftpd.c                                |  2 +-
 libexec/telnetd/utility.c                          |  8 ++++----
 sbin/disklabel32/disklabel.c                       |  4 ++--
 sbin/ip6fw/ip6fw.c                                 | 12 ++++++------
 sbin/ipfw/ipfw2.c                                  |  2 +-
 sbin/sysctl/sysctl.c                               |  2 +-
 usr.bin/ee/ee.c                                    |  8 ++++----
 usr.bin/evtranalyze/evtranalyze.c                  |  8 ++++----
 usr.bin/indent/io.c                                |  4 ++--
 usr.bin/ktrdump/ktrdump.c                          |  8 ++++----
 usr.bin/mkesdb/yacc.y                              |  2 +-
 usr.bin/rpcgen/rpc_hout.c                          |  3 +--
 usr.bin/rpcgen/rpc_svcout.c                        |  2 +-
 usr.bin/rpcgen/rpc_tblout.c                        |  5 ++---
 usr.bin/telnet/utilities.c                         |  8 ++++----
 usr.sbin/atm/scspd/scsp_config_parse.y             |  3 +--
 usr.sbin/installer/dfuibe_installer/fn_configure.c |  8 ++++----
 usr.sbin/installer/dfuibe_installer/fn_disk.c      |  6 +++---
 usr.sbin/installer/libdfui/conn_npipe.c            |  4 ++--
 usr.sbin/installer/libinstaller/commands.c         |  2 +-
 usr.sbin/mfiutil/mfi_show.c                        |  2 +-
 usr.sbin/pfctl/parse.y                             |  2 +-
 usr.sbin/pstat/pstat.c                             |  4 ++--
 37 files changed, 72 insertions(+), 81 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9462167aa18776bf92c161a3c65740189ffe8912


-- 
DragonFly BSD source repository



More information about the Commits mailing list