diff options
author | adam <adam@FreeBSD.org> | 1995-10-27 11:44:07 +0000 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1995-10-27 11:44:07 +0000 |
commit | 4623e1a8c540a4a8482b76314cec139bc36061e4 (patch) | |
tree | f1030aafcae725ff36162a12845dc1f6a0702f67 /usr.sbin/portmap | |
parent | 2494489f353737a9a0a0dfb412b041a447f76aa2 (diff) | |
download | FreeBSD-src-4623e1a8c540a4a8482b76314cec139bc36061e4.zip FreeBSD-src-4623e1a8c540a4a8482b76314cec139bc36061e4.tar.gz |
Correct ip protocol in error message, when binding the tcp port.
Diffstat (limited to 'usr.sbin/portmap')
-rw-r--r-- | usr.sbin/portmap/portmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c index 5ef8b2d..f2f07ed 100644 --- a/usr.sbin/portmap/portmap.c +++ b/usr.sbin/portmap/portmap.c @@ -171,7 +171,7 @@ main(argc, argv) exit(1); } if (bind(sock, (struct sockaddr *)&addr, len) != 0) { - syslog(LOG_ERR, "cannot bind udp: %m"); + syslog(LOG_ERR, "cannot bind tcp: %m"); exit(1); } if ((xprt = svctcp_create(sock, RPCSMALLMSGSIZE, RPCSMALLMSGSIZE)) |