summaryrefslogtreecommitdiff
path: root/sbin/scsi/scsi.c
AgeCommit message (Expand)Author
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.Ted Unangst
2013-11-12add a variety of missing prototypesTheo de Raadt
2012-09-03- resolve unchecked malloc()'s; prompted by rustyBSD.Okan Demirmen
2012-03-24fix some leaksJonathan Gray
2007-10-18SIGCHLD is not an errno value.Ray Lai
2007-04-28Copy sendbug's editit().Ray Lai
2006-10-13Fix another potentially unsafe instance of foo[strlen(foo) - 1] = '\0'.Chad Loder
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
2006-07-23remove some scsi ioctls, most importantly the ones that can reprobe theDavid Gwynne
2005-11-13missing fclose(); dhill@mindcry.orgTheo de Raadt
2005-04-13use STD{IN,OUT,ERR}_FILENOTheo de Raadt
2005-04-11Use absolute path for vi. OK deraadtChad Loder
2005-04-11Check for asprintf failure. From Bruno Rohee (thank you).Chad Loder
2005-04-09Compile with -ansi by killing an inlineChad Loder
2004-01-14Fix printf format string. ok deraadt@Otto Moerbeek
2003-07-23move junk (bad code, terrible APIs) to the only program that uses it;Theo de Raadt
2003-07-06protosTheo de Raadt
2003-06-26use err.hMichael Shalayeff
2003-06-11ansificationTheo de Raadt
2003-03-13more strlcpy; most from Hans-Joerg.Hoexer@yerbouti.franken.de, a bit from meTheo de Raadt
2003-02-20Use STDOUT_FILENO; David at phobia dot msTodd C. Miller
2001-07-07major -Wall cleanup, almost completeTheo de Raadt
2001-03-08whack exit(-#)Theo de Raadt
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be don...Theo de Raadt
1997-12-10Fix tmpnam()...i don't have SCSI though, so i couldn't test.Angelos D. Keromytis
1997-08-26main should return intNiklas Hallqvist
1997-06-24Fix void * -> int casts -- change int's to long'sdgregor
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-12add /sbin/scsi from FreeBSD -- a good start!Theo de Raadt