Commit Graph

12 Commits

Author SHA1 Message Date
jdolecek
06e5ddbb7e if neither -i nor -n option is specified, use the passed argument
as module ID if it's numeric, and as module name if it's not numeric

this saves some typing which bothered me for some years (one too many today)
2003-09-06 19:55:24 +00:00
hubertf
a335a76e3b s/atoi/strtol/ and check if argument given to -i was really a valid
number.

Patch submitted in PR 6456 by lha@stacken.kth.se
1999-07-22 02:04:13 +00:00
lukem
526ce12987 * cleanup for WARNS=1
* getopt returns -1 not EOF
* use .Nm correctly
1997-09-15 03:55:25 +00:00
jtc
afea82ff3c <sys/errno.h> -> <errno.h> 1995-05-28 05:21:58 +00:00
cgd
0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd
c9117f53b5 -Wall cleanups from Jim Jegers 1994-12-18 00:15:01 +00:00
cgd
ba346cac3f kill (bogus) multiple inclusions 1994-05-23 05:42:41 +00:00
cgd
3b59599485 kill stupidity 1994-05-05 06:35:50 +00:00
mycroft
35d349867f Style cleanup; use err*() and atexit(). 1994-04-01 04:19:06 +00:00
deraadt
feb763311e i love ansi 1993-12-03 10:37:14 +00:00
cgd
950f32bf2a open device for read/write, so we can actually load
devices w/new checks in kern_lkm.c
1993-06-07 23:10:34 +00:00
cgd
57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00