summaryrefslogtreecommitdiff
path: root/usr.sbin/fdformat/fdformat.c
AgeCommit message (Expand)Author
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-09-17clean up the amount of printf in usage(): from sascha paunovicJason McIntyre
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2015-12-19Remove NULL-check before free().mmcc
2015-04-18Convert many atoi() calls to strtonum(), adding range checks and failureTheo de Raadt
2014-10-08remove a spaceTheo de Raadt
2007-11-26typos; ok jmc@Martynas Venckus
2007-02-21- Pass full buffer size to fgets.Ray Lai
2007-02-19tidy up synopsis and usage(); reported by Igor SobradoJason McIntyre
2006-08-07Avoid divide by zero in visual effects; spotted by Tobias Stoeckmann.Miod Vallat
2006-04-02use SEEK_* for lseek()Theo de Raadt
2006-03-12missing close(); dhill@mindcry.orgTheo de Raadt
2003-06-26ansi and protosTheo de Raadt
2003-03-08fix fdformat usage(). Ok deraadt@Matthieu Herrb
2002-03-14kill more registers.Mike Pechkin
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
1998-08-13fix exit code; fgsch@olimpo.com.brTheo de Raadt
1998-07-13fix bar printing, indentTheo de Raadt
1998-06-19print correct status bar; blank@fox.uni-trier.deTheo de Raadt
1997-09-21Make "fdformat fd0" work.Todd C. Miller
1997-08-18#include <string.h> not <strings.h> -- Yes, I'm a weanie...Todd C. Miller
1997-06-23off_t botchTheo de Raadt
1996-06-28cleanup: K&R function declarations; use opendev(); use err().Jason Downs
1996-06-20add fdformat for the i386: based on an old FreeBSD version, gotten fromJason Downs