ksyscalls: fix newlines and spaces

This commit is contained in:
Giacomo Tesio 2017-11-17 00:46:47 +01:00
parent e7e208bc06
commit ee6977c8da
1 changed files with 3 additions and 2 deletions

View File

@ -285,8 +285,9 @@ enter_{{ .Name }}(Fmt* fmt, Ureg* ureg)
{{ range .Vars }}{{.}}
{{ end }}
{{ .CommonCode }}
jehanne_fmtprint(fmt, "{{ .Name }} %#p > ", ureg->ip);
jehanne_fmtprint(fmt, "{{ .Name }} %#p >", ureg->ip);
{{ .EntryPrint }}
jehanne_fmtprint(fmt, "\n");
}
{{ end }}
@ -313,7 +314,7 @@ syscallfmt(int syscall, Ureg* ureg)
static void
exit_{{ .Name }}(Fmt* fmt, Ureg* ureg, ScRet* ret)
{
jehanne_fmtprint(fmt, "{{ .Name }} %#p < ", ureg->ip);
jehanne_fmtprint(fmt, "{{ .Name }} %#p <", ureg->ip);
{{ .ExitPrint }}
}
{{ end }}