Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/portmap correct an error message



details:   https://anonhg.NetBSD.org/src/rev/a98658401e70
branches:  trunk
changeset: 471827:a98658401e70
user:      drochner <drochner%NetBSD.org@localhost>
date:      Mon Apr 12 17:29:31 1999 +0000

description:
correct an error message

diffstat:

 usr.sbin/portmap/portmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 07aaa9e1770f -r a98658401e70 usr.sbin/portmap/portmap.c
--- a/usr.sbin/portmap/portmap.c        Mon Apr 12 17:23:23 1999 +0000
+++ b/usr.sbin/portmap/portmap.c        Mon Apr 12 17:29:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: portmap.c,v 1.19 1999/03/12 18:06:12 christos Exp $    */
+/*     $NetBSD: portmap.c,v 1.20 1999/04/12 17:29:31 drochner Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)portmap.c  8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: portmap.c,v 1.19 1999/03/12 18:06:12 christos Exp $");
+__RCSID("$NetBSD: portmap.c,v 1.20 1999/04/12 17:29:31 drochner Exp $");
 #endif
 #endif /* not lint */
 
@@ -247,7 +247,7 @@
                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))



Home | Main Index | Thread Index | Old Index