diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2014-10-27 16:06:51 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-10-27 16:06:51 +0800 |
commit | bc8321eabffa23293d16d6758034203a8c7bffda (patch) | |
tree | 254729e823459f7b17648b66a8c6b8dd9ec0bc4f /src/error.c | |
parent | [BUILTIN] Remove getintmax in printf (diff) | |
download | dash-bc8321eabffa23293d16d6758034203a8c7bffda.tar.gz dash-bc8321eabffa23293d16d6758034203a8c7bffda.zip |
[BUILTIN] Use error instead of warnx for fatal errors in printf
This patch replaces uses of warnx where we abort with error since the effect is the same. The exit status however changes from 1 to 2. Non-fatal errors where we continue are unchanged. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions