]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
rename tline/tlpos
authorTed Lemon <source@isc.org>
Tue, 27 Aug 1996 09:49:06 +0000 (09:49 +0000)
committerTed Lemon <source@isc.org>
Tue, 27 Aug 1996 09:49:06 +0000 (09:49 +0000)
common/errwarn.c
errwarn.c

index 779c92afb02858acd89bceac7ef03f7d22ec8a07..1872c8e58d799cf0a1e4c7aa94de4ed68cb5382f 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"@(#) Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: errwarn.c,v 1.8 1996/08/27 09:49:06 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -188,7 +188,7 @@ int parse_warn (ANSI_DECL (char *) fmt, VA_DOTDOTDOT)
        do_percentm (mbuf, fmt);
 #ifndef NO_SNPRINTF
        snprintf (fbuf, sizeof fbuf, "%s line %d char %d: %s",
-                 tlname, tline, tlpos, mbuf);
+                 tlname, lexline, lexchar, mbuf);
 #else
        sprintf (fbuf, "%s line %d char %d: %s", tlname, tline, tlpos, mbuf);
 #endif
index 779c92afb02858acd89bceac7ef03f7d22ec8a07..1872c8e58d799cf0a1e4c7aa94de4ed68cb5382f 100644 (file)
--- a/errwarn.c
+++ b/errwarn.c
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char copyright[] =
-"@(#) Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: errwarn.c,v 1.8 1996/08/27 09:49:06 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -188,7 +188,7 @@ int parse_warn (ANSI_DECL (char *) fmt, VA_DOTDOTDOT)
        do_percentm (mbuf, fmt);
 #ifndef NO_SNPRINTF
        snprintf (fbuf, sizeof fbuf, "%s line %d char %d: %s",
-                 tlname, tline, tlpos, mbuf);
+                 tlname, lexline, lexchar, mbuf);
 #else
        sprintf (fbuf, "%s line %d char %d: %s", tlname, tline, tlpos, mbuf);
 #endif