projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bc1a80
)
(handle_line_error): Use %s, not %d, now that human_readable
author
Jim Meyering
<jim@meyering.net>
Fri, 7 May 1999 19:15:37 +0000
(19:15 +0000)
committer
Jim Meyering
<jim@meyering.net>
Fri, 7 May 1999 19:15:37 +0000
(19:15 +0000)
converts it to a string.
src/csplit.c
patch
|
blob
|
history
diff --git
a/src/csplit.c
b/src/csplit.c
index 47b935c55263d78db21e0b0ccfa12470da745cfa..855253f37729442e951ae4c43737e8e968cfb05f 100644
(file)
--- a/
src/csplit.c
+++ b/
src/csplit.c
@@
-746,7
+746,7
@@
handle_line_error (const struct control *p, int repetition)
{
char buf[LONGEST_HUMAN_READABLE + 1];
- fprintf (stderr, _("%s: `%
d
': line number out of range"),
+ fprintf (stderr, _("%s: `%
s
': line number out of range"),
program_name, human_readable (p->lines_required, buf, 1, 1));
if (repetition)
fprintf (stderr, _(" on repetition %d\n"), repetition);