summaryrefslogtreecommitdiff
path: root/usr.bin/error/main.c
AgeCommit message (Collapse)Author
2001-07-12first pass at a -Wall cleanupTheo de Raadt
2000-08-12- Convert to using getopt().Aaron Campbell
- Sync man page options with actual program/usage. - KNF.
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
1998-07-10use err/warnMichael Shalayeff
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt