summaryrefslogtreecommitdiff
path: root/errwarn.c
diff options
context:
space:
mode:
Diffstat (limited to 'errwarn.c')
-rw-r--r--errwarn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/errwarn.c b/errwarn.c
index 779c92af..1872c8e5 100644
--- 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