summaryrefslogtreecommitdiff
path: root/src/timeout.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-04-27 10:44:25 +0100
committerPádraig Brady <P@draigBrady.com>2015-04-27 10:55:26 +0100
commit0e7ac9a4609248663af76f202418dabf1c13efbe (patch)
treeacefcdcd41c30c14925d3e5e904a27653bbadcdb /src/timeout.c
parent17fba994bd1620ab5d4bdaeda797c6071f6130b7 (diff)
downloadcoreutils-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.c2
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;
}
}