diff options
author | charnier <charnier@FreeBSD.org> | 1998-07-06 07:09:13 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-07-06 07:09:13 +0000 |
commit | fc36ebbafead2d41dcd89cb82e78c842c8a2dce5 (patch) | |
tree | fb73303a5c2c0cfc74e87a5ef052f1e8e63e9adf /sbin/modunload/modunload.c | |
parent | b2d6ebc873ac170972d485215e3bdfb805bdd6ab (diff) | |
download | FreeBSD-src-fc36ebbafead2d41dcd89cb82e78c842c8a2dce5.zip FreeBSD-src-fc36ebbafead2d41dcd89cb82e78c842c8a2dce5.tar.gz |
Add rcsid. Remove unused #includes. Spelling.
Diffstat (limited to 'sbin/modunload/modunload.c')
-rw-r--r-- | sbin/modunload/modunload.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sbin/modunload/modunload.c b/sbin/modunload/modunload.c index 4c3b185..b09f8c9 100644 --- a/sbin/modunload/modunload.c +++ b/sbin/modunload/modunload.c @@ -28,20 +28,19 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id: modunload.c,v 1.5 1997/03/11 12:24:00 peter Exp $ */ +#ifndef lint +static const char rcsid[] = + "$Id$"; +#endif /* not lint */ + +#include <err.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> -#include <err.h> -#include <string.h> -#include <a.out.h> #include <sys/param.h> #include <sys/ioctl.h> -#include <sys/conf.h> -#include <sys/mount.h> #include <sys/lkm.h> #include <sys/file.h> #include <sys/errno.h> @@ -98,7 +97,7 @@ main(argc, argv) /* * Open the virtual device device driver for exclusive use (needed - * to ioctl() to retrive the loaded module(s) status). + * to ioctl() to retrieve the loaded module(s) status). */ if ((devfd = open(_PATH_LKM, O_RDWR, 0)) == -1) err(2, _PATH_LKM); |