diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-04-27 02:02:58 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-04-27 02:02:58 +0000 |
commit | 8754c92e3dae4b5f687f408c908b66ac254d4aa2 (patch) | |
tree | dbd5aee80f3326d04817c99264d820cfa6078490 /usr.sbin/portmap/portmap.c | |
parent | b48c45cc23341272185206dc42e2562c4b856002 (diff) |
make error messages for binds different
Diffstat (limited to 'usr.sbin/portmap/portmap.c')
-rw-r--r-- | usr.sbin/portmap/portmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c index 8d183ae2cb5..684fb9e278b 100644 --- a/usr.sbin/portmap/portmap.c +++ b/usr.sbin/portmap/portmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: portmap.c,v 1.14 1997/04/15 15:18:49 deraadt Exp $ */ +/* $OpenBSD: portmap.c,v 1.15 1998/04/27 02:02:57 mickey Exp $ */ /*- * Copyright (c) 1996, 1997 Theo de Raadt (OpenBSD). All rights reserved. @@ -44,7 +44,7 @@ char copyright[] = #if 0 static char sccsid[] = "from: @(#)portmap.c 5.4 (Berkeley) 4/19/91"; #else -static char rcsid[] = "$OpenBSD: portmap.c,v 1.14 1997/04/15 15:18:49 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: portmap.c,v 1.15 1998/04/27 02:02:57 mickey Exp $"; #endif #endif /* not lint */ @@ -180,7 +180,7 @@ main(argc, argv) } setsockopt(lsock, SOL_SOCKET, SO_REUSEADDR, &on, sizeof on); if (bind(lsock, (struct sockaddr *)&laddr, len) != 0) { - syslog(LOG_ERR, "cannot bind udp: %m"); + syslog(LOG_ERR, "cannot bind local udp: %m"); exit(1); } |