diff options
author | Pádraig Brady <P@draigBrady.com> | 2012-10-30 02:12:23 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2012-11-04 00:49:04 +0000 |
commit | 1411022cf23d81bac8176b06008898439a2c1a59 (patch) | |
tree | a278c40679f962a4d2d9191a226d349c8ae716c4 /src/join.c | |
parent | 5e9401800b186a3746e3b50981ac11b709d3742a (diff) | |
download | coreutils-1411022cf23d81bac8176b06008898439a2c1a59.tar.xz |
build: don't rely on support for '%j' printf format
* src/factor.c (print_uintmaxes): Replace with PRIuMAX.
* src/join.c (check_order): Likewise.
* cfg.mk (sc_check-j-printf-format): Add a syntax-check rule
to flag new cases of this.
Diffstat (limited to 'src/join.c')
-rw-r--r-- | src/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/join.c b/src/join.c index e39ed8725..eb87301c7 100644 --- a/src/join.c +++ b/src/join.c @@ -400,7 +400,7 @@ check_order (const struct line *prev, error ((check_input_order == CHECK_ORDER_ENABLED ? EXIT_FAILURE : 0), - 0, _("%s:%ju: is not sorted: %.*s"), + 0, _("%s:%"PRIuMAX": is not sorted: %.*s"), g_names[whatfile - 1], line_no[whatfile - 1], (int) len, current->buf.buffer); |