Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/dhcp/client Pass interface name required by format ...



details:   https://anonhg.NetBSD.org/src/rev/b02ce94bb58c
branches:  trunk
changeset: 487766:b02ce94bb58c
user:      mellon <mellon%NetBSD.org@localhost>
date:      Mon Jun 12 18:57:43 2000 +0000

description:
Pass interface name required by format to log_fatal.

diffstat:

 usr.sbin/dhcp/client/clparse.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 40ab825dee17 -r b02ce94bb58c usr.sbin/dhcp/client/clparse.c
--- a/usr.sbin/dhcp/client/clparse.c    Mon Jun 12 18:53:01 2000 +0000
+++ b/usr.sbin/dhcp/client/clparse.c    Mon Jun 12 18:57:43 2000 +0000
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: clparse.c,v 1.4 2000/06/12 17:43:26 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: clparse.c,v 1.5 2000/06/12 18:57:43 mellon Exp $ Copyright (c) 1996-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -644,7 +644,7 @@
        }
 
        if (!interface_or_dummy (&ip, val))
-               log_fatal ("Can't allocate interface %s.");
+               log_fatal ("Can't allocate interface %s.", val);
 
        /* If we were given a name, this is a pseudo-interface. */
        if (name) {



Home | Main Index | Thread Index | Old Index