From: Neil Brown Date: Fri, 20 Apr 2007 02:42:05 +0000 (+1000) Subject: Correct typo in error message: udp -> tcp X-Git-Tag: portmap_6.0~24 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=8ea1cb17880a1a0787134cf5ff857af56a0c6e22;p=portmap.git Correct typo in error message: udp -> tcp --- diff --git a/portmap.c b/portmap.c index 3036642..cdf1658 100644 --- a/portmap.c +++ b/portmap.c @@ -228,7 +228,7 @@ main(int argc, char **argv) setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &on, sizeof on); #endif 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))