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/timeout.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/timeout.c')
-rw-r--r-- | src/timeout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeout.c b/src/timeout.c index 4d089bf23..19c07653a 100644 --- a/src/timeout.c +++ b/src/timeout.c @@ -492,7 +492,7 @@ main (int argc, char **argv) else { /* shouldn't happen. */ - error (0, 0, _("unknown status from command (0x%X)"), status); + error (0, 0, _("unknown status from command (%d)"), status); status = EXIT_FAILURE; } } |