summaryrefslogtreecommitdiff
path: root/sbin/kldload/kldload.c
Commit message (Collapse)AuthorAgeFilesLines
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* Fix the last case when kldload(8) wasn't printing the name of the moduleGleb Smirnoff2017-02-181-2/+2
| | | | | | | that failed to load. Notes: svn path=/head/; revision=313920
* style(9) cleanupEnji Cooper2017-02-051-36/+23
| | | | | | | | | | | | - Delete trailing whitespace - Fix alignment/variable sorting - Delete single-line enclosing braces MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=313273
* Use nitems() from sys/param.h.Marcelo Araujo2016-04-191-1/+1
| | | | | | | MFC after: 2 weeks. Notes: svn path=/head/; revision=298249
* Fix dmesg(1) -> dmesg(8)Baptiste Daroussin2014-01-131-1/+1
| | | | | | | Reported by: trasz Notes: svn path=/head/; revision=260597
* Fix typoBaptiste Daroussin2014-01-131-1/+1
| | | | | | | Reported by: dumbbell Notes: svn path=/head/; revision=260596
* Point the user to dmesg(1) to get informations about why loading a module ↵Baptiste Daroussin2014-01-131-2/+12
| | | | | | | | | | | did fail instead of printing the cryptic "Exec format error" MFC after: 1 week Notes: svn path=/head/; revision=260594
* Fix error countingBaptiste Daroussin2014-01-091-4/+3
| | | | Notes: svn path=/head/; revision=260484
* Import error message shown to the user when trying to load a module that isBaptiste Daroussin2014-01-091-2/+8
| | | | | | | | | already loaded or compiled withing the kernel MFC after: 1 week Notes: svn path=/head/; revision=260483
* Add option to ignore error codes if the module specified is already loaded.Hans Petter Selasky2012-03-181-4/+16
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=233109
* Make flags in usage() and SYNOPSYS more style(9)-ish.Maxim Konovalov2010-08-301-1/+1
| | | | | | | | Suggested by: brian MFC after: 3 days Notes: svn path=/head/; revision=211990
* o Add -q flag to usage().Maxim Konovalov2010-07-131-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=209971
* Perform some checking on the requested list of modules to warn people if theyBenno Rice2009-06-041-9/+110
| | | | | | | | | | | | try to load modules by filename out of the current directory where the module in question may be further up the module path or not in the module path at all. Also add some text to the man page to help explain what's going on. Sponsored by: Redacted Consulting Notes: svn path=/head/; revision=193475
* style(9) pass prior to further changes.Benno Rice2009-06-041-32/+37
| | | | | | | Sponsored by: Redacted Consulting Notes: svn path=/head/; revision=193473
* Use __FBSDID() to quiet GCC 3.3 warnings.David E. O'Brien2003-05-031-4/+2
| | | | Notes: svn path=/head/; revision=114589
* Update documentation for kldload(8)'s ability to load multiple modules.Juli Mallett2002-10-091-1/+1
| | | | | | | Submitted by: Daniel O'Connor <doconnor@gsoft.com.au> Notes: svn path=/head/; revision=104699
* Make it possible to kldload(8) many modules.Juli Mallett2002-10-081-9/+17
| | | | | | | | | MFC after: 2 months Sponsored by: Bright Path Solutions Reviewed by: tjr Notes: svn path=/head/; revision=104669
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
| | | | | | | builtins (e.g., exit, strcmp). Notes: svn path=/head/; revision=78732
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* remoce unused #include.Philippe Charnier1998-07-061-2/+1
| | | | Notes: svn path=/head/; revision=37418
* Add -v in usage string. Add rcsid.Philippe Charnier1998-01-051-4/+7
| | | | Notes: svn path=/head/; revision=32269
* a few code style changes:John-Mark Gurney1997-10-211-9/+6
| | | | | | | | | | | | | | | | o start function names in column 1 o sort order of flags in getopt and switch o don't try to reference progname o unspam some changes introduced by a 2.2.1-R build box instead of a -current build box doc changes: o document when these commands first appeared o put email address in angle brakets o minor mdoc clean up Notes: svn path=/head/; revision=30627
* activate the programs that will be used to manipulate kld modulesJohn-Mark Gurney1997-10-191-1/+5
| | | | | | | | | | | fix a few problems with missing headers, warn called with an exit value, and undeclared getopt vars these programs now compile -Wall clean (and yes, I know I should use more than just -Wall) :) Notes: svn path=/head/; revision=30573
* Add utilities for the kernel linker.Doug Rabson1997-05-071-0/+71
Notes: svn path=/head/; revision=25540