aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/nfsiod/nfsiod.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-07-15 06:35:20 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-07-15 06:35:20 +0000
commit6ca76744cb69c5f028a582d2395b0ed1d4707bd9 (patch)
tree3fd45aefefbbc45587bae0e7036534f003af9d4e /sbin/nfsiod/nfsiod.c
parent9b4d716bbb841238d6a2e8af8cae086a887ff287 (diff)
downloadsrc-6ca76744cb69c5f028a582d2395b0ed1d4707bd9.tar.gz
src-6ca76744cb69c5f028a582d2395b0ed1d4707bd9.zip
Correct use of .Nm. Do not dot terminate syslog() strings. Remove unused
#includes. Add rcsid. -Wall.
Notes
Notes: svn path=/head/; revision=37667
Diffstat (limited to 'sbin/nfsiod/nfsiod.c')
-rw-r--r--sbin/nfsiod/nfsiod.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c
index 6ddb42a6b5eb..b97eb77718ef 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