]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix missing parameter in parse_warn().
authorShane Kerr <shane@isc.org>
Wed, 11 Jul 2007 14:54:11 +0000 (14:54 +0000)
committerShane Kerr <shane@isc.org>
Wed, 11 Jul 2007 14:54:11 +0000 (14:54 +0000)
Whoops.

server/confpars.c

index 92001b84ce584ccca8ec94656d6e8a144a2b27a7..fde781070c0d6566057941774356224f1aa931df 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: confpars.c,v 1.171 2007/07/11 12:02:51 shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium.  All rights reserved.\n";
+"$Id: confpars.c,v 1.172 2007/07/11 14:54:11 shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1555,7 +1555,7 @@ void parse_pool_statement (cfile, group, type)
                         * the parse_statement() reads all available tokens
                         * and leaves us at the end.
                         */
-                       parse_warn("unexpected end of file");
+                       parse_warn(cfile, "unexpected end of file");
                        goto cleanup;
 
                      default: