summaryrefslogtreecommitdiffstats
path: root/sbin/nfsd
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/nfsd')
-rw-r--r--sbin/nfsd/nfsd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c
index 86e145c..3cc56d8 100644
--- a/sbin/nfsd/nfsd.c
+++ b/sbin/nfsd/nfsd.c
@@ -38,7 +38,7 @@
static const char copyright[] =
"@(#) Copyright (c) 1989, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
-#endif not lint
+#endif /* not lint */
#ifndef lint
#if 0
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)nfsd.c 8.9 (Berkeley) 3/29/95";
#endif
static const char rcsid[] =
"$FreeBSD$";
-#endif not lint
+#endif /* not lint */
#include <sys/param.h>
#include <sys/syslog.h>
@@ -69,7 +69,7 @@ static const char rcsid[] =
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
-#include <strings.h>
+#include <string.h>
#include <unistd.h>
#include <netdb.h>
@@ -741,6 +741,7 @@ setbindhost(struct addrinfo **ai, const char *bindhost, struct addrinfo hints)
}
break;
default:
+ break;
}
}
OpenPOWER on IntegriCloud