summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-09-02 20:00:46 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-09-02 20:00:46 +0000
commit7161284200278991a789c6a5b6ad646e5c48f614 (patch)
tree3bd6bff2ed356fdcfb0c46dd1f30d77b8d8081ac
parentd78d977dabef7f2caee3718adee4a8ba85b6e993 (diff)
downloadFreeBSD-src-7161284200278991a789c6a5b6ad646e5c48f614.zip
FreeBSD-src-7161284200278991a789c6a5b6ad646e5c48f614.tar.gz
tpc -> tcp in an error message.
PR: 40771 Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
-rw-r--r--usr.sbin/inetd/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 3fcad3f..7c49801 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -485,7 +485,7 @@ main(int argc, char **argv)
udpconf = getnetconfigent("udp");
tcpconf = getnetconfigent("tcp");
if (udpconf == NULL || tcpconf == NULL) {
- syslog(LOG_ERR, "unknown rpc/udp or rpc/tpc");
+ syslog(LOG_ERR, "unknown rpc/udp or rpc/tcp");
exit(EX_USAGE);
}
}
@@ -494,7 +494,7 @@ main(int argc, char **argv)
udp6conf = getnetconfigent("udp6");
tcp6conf = getnetconfigent("tcp6");
if (udp6conf == NULL || tcp6conf == NULL) {
- syslog(LOG_ERR, "unknown rpc/udp6 or rpc/tpc6");
+ syslog(LOG_ERR, "unknown rpc/udp6 or rpc/tcp6");
exit(EX_USAGE);
}
}
OpenPOWER on IntegriCloud