diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-02-05 15:37:47 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-02-05 15:49:42 +0000 |
commit | 51b3ba842d1196f165e242d77e1d5f092d3b840d (patch) | |
tree | 33155ad99e495e6f58f8fca822df7b96d9df418e | |
parent | 8a303a8963dd255566f1625243ff19b029e0ecec (diff) | |
download | coreutils-51b3ba842d1196f165e242d77e1d5f092d3b840d.tar.xz |
numfmt: correct a printf format
Prompted by the continuous integration build failure at:
http://hydra.nixos.org/build/4010493
* src/numfmt.c (parse_format_string): Correct both sign and size of
a printf format, which only gives a warning on 32 bit builds.
-rw-r--r-- | src/numfmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/numfmt.c b/src/numfmt.c index 5929dbab5..cccd1d12a 100644 --- a/src/numfmt.c +++ b/src/numfmt.c @@ -1014,7 +1014,7 @@ parse_format_string (char const *fmt) if (dev_debug) error (0, 0, _("format String:\n input: %s\n grouping: %s\n" - " padding width: %zu\n alignment: %s\n" + " padding width: %ld\n alignment: %s\n" " prefix: '%s'\n suffix: '%s'\n"), quote (fmt), (grouping) ? "yes" : "no", padding_width, |