diff options
author | charnier <charnier@FreeBSD.org> | 1998-07-15 06:35:20 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 1998-07-15 06:35:20 +0000 |
commit | 2616457b9e8668963a72c559ad66569275cd8f26 (patch) | |
tree | a7b039119e9f0af9ad9ba75cd4c6057d0e9fec37 /sbin/nfsiod/nfsiod.c | |
parent | 15dad0ac3153eaaf32eefafc165786485d52b647 (diff) | |
download | FreeBSD-src-2616457b9e8668963a72c559ad66569275cd8f26.zip FreeBSD-src-2616457b9e8668963a72c559ad66569275cd8f26.tar.gz |
Correct use of .Nm. Do not dot terminate syslog() strings. Remove unused
#includes. Add rcsid. -Wall.
Diffstat (limited to 'sbin/nfsiod/nfsiod.c')
-rw-r--r-- | sbin/nfsiod/nfsiod.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c index 6ddb42a..b97eb77 100644 --- a/sbin/nfsiod/nfsiod.c +++ b/sbin/nfsiod/nfsiod.c @@ -35,31 +35,29 @@ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif not lint #ifndef lint +#if 0 static char sccsid[] = "@(#)nfsiod.c 8.4 (Berkeley) 5/3/95"; +#endif +static const char rcsid[] = + "$Id$"; #endif not lint #include <sys/param.h> -#include <sys/ioctl.h> #include <sys/syslog.h> -#include <sys/ucred.h> #include <sys/wait.h> #include <sys/mount.h> #include <sys/time.h> #include <nfs/rpcv2.h> -#include <nfs/nfsproto.h> #include <nfs/nfs.h> #include <err.h> -#include <errno.h> -#include <fcntl.h> -#include <signal.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -164,7 +162,7 @@ void nonfs(signo) int signo; { - syslog(LOG_ERR, "missing system call: NFS not available."); + syslog(LOG_ERR, "missing system call: NFS not available"); } void |