diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-04-27 10:44:25 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-04-27 10:55:26 +0100 |
commit | 0e7ac9a4609248663af76f202418dabf1c13efbe (patch) | |
tree | acefcdcd41c30c14925d3e5e904a27653bbadcdb /src/dd.c | |
parent | 17fba994bd1620ab5d4bdaeda797c6071f6130b7 (diff) | |
download | coreutils-0e7ac9a4609248663af76f202418dabf1c13efbe.tar.xz |
maint: fix printf format for signed integers
With GCC 5 and the newly added warnings from gnulib, ensure the
correct signed integer is passed for the printf format,
to avoid -Werror=format= failures.
Diffstat (limited to 'src/dd.c')
-rw-r--r-- | src/dd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1685,7 +1685,7 @@ skip_via_lseek (char const *filename, int fdesc, off_t offset, int whence) error (0, 0, _("warning: working around lseek kernel bug for file " "(%s)\n of mt_type=0x%0lx -- " "see <sys/mtio.h> for the list of types"), - filename, s2.mt_type); + filename, s2.mt_type + 0Lu); errno = 0; new_position = -1; } |