diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-06 22:12:39 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-07-06 22:12:39 +0000 |
commit | 0cae1f1fc41b6a124168d73a8b1f548904ea3d18 (patch) | |
tree | e9d3649253d77de1e75b859ce41ea41eec75a52d /usr.bin/file2c | |
parent | 65f76b32612504e709ea800769c387d8e491fbb8 (diff) |
(1) exit with failure not success if options parsing fails;
(2) use warn not warnx if fstat fails;
(3) getsubopt modifies arg, so printing it on error will print
the wrong thing: use suboptarg instead.
from nicm@
ok kristaps@ and contained in 1.7.21
Diffstat (limited to 'usr.bin/file2c')
0 files changed, 0 insertions, 0 deletions