Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 03:16:33 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241849 - head/usr.sbin/nfsd
Message-ID:  <201210220316.q9M3GXYB019643@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Oct 22 03:16:32 2012
New Revision: 241849
URL: http://svn.freebsd.org/changeset/base/241849

Log:
  Fix typo in error when unable to create TCP socket
  
  PR:		bin/172490
  Submitted by:	bdrewery
  Approved by:	cperciva
  MFC after:	3 days

Modified:
  head/usr.sbin/nfsd/nfsd.c

Modified: head/usr.sbin/nfsd/nfsd.c
==============================================================================
--- head/usr.sbin/nfsd/nfsd.c	Mon Oct 22 03:07:05 2012	(r241848)
+++ head/usr.sbin/nfsd/nfsd.c	Mon Oct 22 03:16:32 2012	(r241849)
@@ -590,7 +590,7 @@ main(int argc, char **argv)
 				if ((tcpsock = socket(AF_INET, SOCK_STREAM,
 				    0)) < 0) {
 					syslog(LOG_ERR,
-					    "can't create tpc socket");
+					    "can't create tcp socket");
 					nfsd_exit(1);
 				}
 				if (setsockopt(tcpsock, SOL_SOCKET,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210220316.q9M3GXYB019643>