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/kill.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/kill.c')
-rw-r--r-- | src/kill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kill.c b/src/kill.c index 49e6ef6e0..83016ed3c 100644 --- a/src/kill.c +++ b/src/kill.c @@ -109,8 +109,8 @@ PID is an integer; if negative it identifies a process group.\n\ maximum name width is NAME_WIDTH, and SIGNAME is the name to print. */ static void -print_table_row (unsigned int num_width, int signum, - unsigned int name_width, char const *signame) +print_table_row (int num_width, int signum, + int name_width, char const *signame) { char const *description = strsignal (signum); printf ("%*d %-*s %s\n", num_width, signum, name_width, signame, |