]> git.ipfire.org Git - thirdparty/util-linux.git/commit
chmem: don't use scanf format for printf
authorRuediger Meier <ruediger.meier@ga-group.nl>
Fri, 7 Apr 2017 11:35:59 +0000 (13:35 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 10 Apr 2017 13:41:21 +0000 (15:41 +0200)
commit1ea4e7bd8d9d0f0ef317558c627e6fa069950e8d
tree6f106bac9cb528fa33e1a873b2c0ff82072336a5
parentc8df4b17d47eeaca6ed274b311e80f77013f5e8d
chmem: don't use scanf format for printf

The compiler had not complained here because both macros are
probably the same.

But gettext issued a funny warning:
sys-utils/chmem.c:67: warning: Although being used in a format string position, the msgid is not a valid C format string. Reason: The string ends in the middle of a directive.

CC: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
sys-utils/chmem.c