printf: Fix \c in %b in printf builtin exiting the shell after r337458

SVN r337458 erroneously partially reverted r265885.

This is immediately visible when running the Kyua/ATF tests for
usr.bin/printf, which actually test sh's printf builtin.

PR:		229641
This commit is contained in:
Jilles Tjoelker 2018-08-11 11:13:34 +00:00
parent 1284f5f4a1
commit 051c7fdd5c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337618

View file

@ -388,7 +388,7 @@ printf_doformat(char *fmt, int *rval)
free(p);
if (getout)
exit(*rval);
return (end_fmt);
break;
}
case 'c': {