summaryrefslogtreecommitdiffstats
path: root/sbin/mount_portal/pt_tcp.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-07-06 07:19:27 +0000
committercharnier <charnier@FreeBSD.org>1998-07-06 07:19:27 +0000
commitbeb07fe1b82dfa0236722c7bc4891a23f8557fec (patch)
tree1af94e571e4c5f9c1635b2e05277f289076d65d3 /sbin/mount_portal/pt_tcp.c
parent112ec6c26987e9958ff540a00d5fd04feafc449e (diff)
downloadFreeBSD-src-beb07fe1b82dfa0236722c7bc4891a23f8557fec.zip
FreeBSD-src-beb07fe1b82dfa0236722c7bc4891a23f8557fec.tar.gz
Correct use of .Nm. Spelling. Add rcsid and remove unused #includes.
Diffstat (limited to 'sbin/mount_portal/pt_tcp.c')
-rw-r--r--sbin/mount_portal/pt_tcp.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sbin/mount_portal/pt_tcp.c b/sbin/mount_portal/pt_tcp.c
index 494911c..d62ca3e 100644
--- a/sbin/mount_portal/pt_tcp.c
+++ b/sbin/mount_portal/pt_tcp.c
@@ -35,15 +35,17 @@
* SUCH DAMAGE.
*
* @(#)pt_tcp.c 8.5 (Berkeley) 4/28/95
- *
- * $Id: pt_tcp.c,v 1.5 1997/03/11 12:35:00 peter Exp $
*/
-#include <stdio.h>
-#include <unistd.h>
-#include <stdlib.h>
+#ifndef lint
+static const char rcsid[] =
+ "$Id$";
+#endif /* not lint */
+
#include <errno.h>
+#include <stdlib.h>
#include <strings.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/syslog.h>
@@ -59,7 +61,7 @@
* Create a TCP socket connected to the
* requested host and port.
* Some trailing suffix values have special meanings.
- * An unrecognised suffix is an error.
+ * An unrecognized suffix is an error.
*/
int portal_tcp(pcr, key, v, kso, fdp)
struct portal_cred *pcr;
OpenPOWER on IntegriCloud