# HG changeset patch # User Elliott Hughes # Date 1425246529 21600 # Node ID 59a3fd32329c305286ebf652aeed468c465a0dc0 # Parent 23acd6af27e403c33a3050eeb74179673708769f remove accidental space in format string the ' ' flag makes no sense for %c. diff -r 23acd6af27e4 -r 59a3fd32329c toys/posix/split.c --- a/toys/posix/split.c Sun Mar 01 15:35:48 2015 -0600 +++ b/toys/posix/split.c Sun Mar 01 15:48:49 2015 -0600 @@ -100,7 +100,7 @@ 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.