summaryrefslogtreecommitdiffstats
path: root/usr.sbin/eeprom/ophandlers.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-10/+10
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* stdlib.h is in scope; do not cast malloc/calloc/realloc*deraadt2015-08-201-2/+2
| | | | ok millert krw
* Nuke more obvious #include duplications.krw2014-11-181-2/+1
| | | | ok deraadt@ millert@ tedu@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Make this compile on macppc (OpenPROM support only) and build it there.kettenis2007-11-121-2/+1
| | | | ok deraadt@
* add support to print the derivated tree from the OpenPROM (alas devinfo orfgsch2007-09-041-1/+2
| | | | | prtconf); ok kettenis@. thanks to the various people who helped me test in different sparc* machines.
* Filter openprom environment strings with strnvis(); ok deraadt@ krw@miod2005-03-061-7/+31
|
* ansideraadt2004-07-091-8/+4
|
* fix printfhenning2003-11-271-2/+2
| | | | From: Alf Schlichting <leopold-bloom@foni.net>
* Use strlcpy rather than unsafe string functions, especially in unreadable code.miod2002-12-091-3/+3
| | | | Spotted by deraadt@
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-2/+2
|
* typoderaadt1996-08-311-2/+2
|
* buf oflow in some more "NetBSD Foundation" codederaadt1996-08-311-3/+4
|
* From NetBSD: merge of 960317niklas1996-03-251-18/+23
|
* initial import of NetBSD treederaadt1995-10-181-0/+258