scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 67f222edd852878c3d8e263d8157fe698b6f7a1d
parent 248df40e5aac65beea19dddee60f276142aa6678
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Tue, 24 May 2016 19:36:57 +0200

[driver] Break long line in spawn

Diffstat:
Mdriver/posix/scc.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/driver/posix/scc.c b/driver/posix/scc.c @@ -39,7 +39,8 @@ spawn(char *tool, char *args[NARGS], pid_t *pid_tool, int fd, int stdfd) char archtool[16], *fmt = "%s/libexec/scc/%s"; int r; - r = snprintf(archtool, sizeof(archtool), arch ? "%s-%s" : "%s", tool, arch); + r = snprintf(archtool, sizeof(archtool), + arch ? "%s-%s" : "%s", tool, arch); if (r == -1 || r >= sizeof(archtool)) die("scc: incorrect target arch");