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:
parent
012b3d1c50
commit
2259773a12
@ -388,7 +388,7 @@ printf_doformat(char *fmt, int *rval)
|
|||||||
|
|
||||||
free(p);
|
free(p);
|
||||||
if (getout)
|
if (getout)
|
||||||
exit(*rval);
|
return (end_fmt);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'c': {
|
case 'c': {
|
||||||
|
Loading…
Reference in New Issue
Block a user