]> git.ipfire.org Git - thirdparty/shadow.git/commit
Use function format attribute where applicable
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 5 Aug 2022 15:40:42 +0000 (17:40 +0200)
committerSerge Hallyn <serge@hallyn.com>
Sat, 6 Aug 2022 16:27:56 +0000 (11:27 -0500)
commitc6c8130db4319613a91dd07bbb845f6c33c5f79f
tree3fc69535c772e81541547a28f49188c35a652c4c
parent477c8e6f42df1e17e45584e74988eb46a11e6caa
Use function format attribute where applicable

Allow the compiler to verify the format string against the supplied
arguments.

    chage.c:239:51: warning: format not a string literal, format string not checked [-Wformat-nonliteral]
      239 |                 (void) strftime (buf, sizeof buf, format, tp);
          |                                                   ^~~~~~
lib/defines.h
lib/selinux.c
lib/semanage.c
libmisc/copydir.c
src/chage.c