diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-03 01:43:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-03 18:15:54 +0300 |
commit | f128acc32584c07f900f0268b12133b2d227e279 (patch) | |
tree | e1e3e571029382bc657c7fadc9699a0eb6fa04ec /include/linux | |
parent | bfad33c3efeaff60f0f3b36ed858fb27f89239a7 (diff) |
utils: raspberrypi: ctt: json_pretty_print: Avoid spaces at end of lines
Avoid outputting spaces at end of lines by recording the need for a
space and outputting it before the next character only if not a newline.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions