]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build: fix printf warnings for icc (-Wformat-security)
authorRuediger Meier <ruediger.meier@ga-group.nl>
Tue, 20 Jan 2015 14:49:21 +0000 (15:49 +0100)
committerRuediger Meier <ruediger.meier@ga-group.nl>
Wed, 21 Jan 2015 10:15:19 +0000 (11:15 +0100)
commitf205c90a72707591ad5342429d8e13fa69294ae2
tree1509f3e51390ab2d9f4337507729da79e5f1dc00
parentc8494d88d9137ec6c885cae202f0ae6de930098c
build: fix printf warnings for icc (-Wformat-security)

Intel compiler complains about printf style function calls with trivial
format string and no other arguments. Like this one:

../sys-utils/ipcrm.c(117): warning #2279: printf/scanf format not a string literal and no format arguments
                        err(EXIT_FAILURE, iskey ? _("key failed") : _("id failed"));
sys-utils/ipcrm.c
sys-utils/lscpu.c
sys-utils/rtcwake.c