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 2018-08-11 11:13:34 +00:00
parent 012b3d1c50
commit 2259773a12

View File

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