Gleb Smirnoff
60bd643435
Fix typo.
...
Submitted by: ae
2013-07-17 13:13:44 +00:00
Gleb Smirnoff
9fd7a1b3dd
Improve example, so that it doesn't dump core when example module
...
isn't loaded.
2013-07-17 12:28:48 +00:00
Konstantin Belousov
8284562954
Fix the syscall module name after r205320.
...
Submitted by: Vladislav Movchan <vladislav.movchan gmail com>
MFC after: 1 week
2010-06-15 09:30:36 +00:00
Wojciech A. Koszek
d632071e0e
Small cleanup while being here:
...
- sort includes
- remove usage(), since it seems to come from older version
of the KLD
- remove unnecessary variable
- mark argc/argv as unused
Bring WARNS = 5 to the Makefile.
2010-01-18 23:09:07 +00:00
Wojciech A. Koszek
6f31cdcdba
Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes
...
this program to compile cleanly.
2010-01-18 23:04:38 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Doug Rabson
bcb321b33e
Use modstat(2) to get the syscall number.
1999-01-09 15:03:06 +00:00
Doug Rabson
380a989b32
Replace the misc example with a simpler syscall example using the new
...
module registration hooks for syscalls.
Submitted by: Assar Westerlund <assar@sics.se>
1999-01-09 14:26:22 +00:00