diff options
author | Elliott Hughes <enh@google.com> | 2015-03-01 15:48:49 -0600 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-01 15:48:49 -0600 |
commit | 7c3c6a9639ee41fb750f78d87dc8a6cbe4e421a5 (patch) | |
tree | 9ca93581bd3cd38261c4d9cab819d10e8f813cba /toys/posix | |
parent | 2ee0cd90d8642c9aeee62cf321765ee29cc9e11a (diff) | |
download | toybox-7c3c6a9639ee41fb750f78d87dc8a6cbe4e421a5.tar.gz |
remove accidental space in format string
the ' ' flag makes no sense for %c.
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/split.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/split.c b/toys/posix/split.c index d9a556b8..aabf9310 100644 --- a/toys/posix/split.c +++ b/toys/posix/split.c @@ -100,7 +100,7 @@ void split_main(void) if (!TT.bytes && !TT.lines) TT.lines = 1000; // Allocate template for output filenames - TT.outfile = xmprintf("%s% *c", (toys.optc == 2) ? toys.optargs[1] : "x", + TT.outfile = xmprintf("%s%*c", (toys.optc == 2) ? toys.optargs[1] : "x", (int)TT.suflen, ' '); // We only ever use one input, but this handles '-' or no input for us. |