Module Name:    src
Committed By:   uwe
Date:           Sun Jul 26 22:25:47 UTC 2020

Modified Files:
        src/usr.bin/config: scan.l

Log Message:
Don't print the location of the include directive twice.

cfgdbg() already prints the current file and line number, so don't
print the same information ourselves in the message too.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/config/scan.l

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/config/scan.l
diff -u src/usr.bin/config/scan.l:1.32 src/usr.bin/config/scan.l:1.33
--- src/usr.bin/config/scan.l:1.32	Fri Apr  3 19:53:41 2020
+++ src/usr.bin/config/scan.l	Sun Jul 26 22:25:47 2020
@@ -1,5 +1,5 @@
 %{
-/*	$NetBSD: scan.l,v 1.32 2020/04/03 19:53:41 joerg Exp $	*/
+/*	$NetBSD: scan.l,v 1.33 2020/07/26 22:25:47 uwe Exp $	*/
 
 /*
  * Copyright (c) 1992, 1993
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: scan.l,v 1.32 2020/04/03 19:53:41 joerg Exp $");
+__RCSID("$NetBSD: scan.l,v 1.33 2020/07/26 22:25:47 uwe Exp $");
 
 #include <sys/param.h>
 #include <errno.h>
@@ -555,7 +555,7 @@ include(const char *fname, int ateof, in
 	if (interesting)
 		logconfig_include(fp, fname);
 	incl = in;
-	CFGDBG(1, "include `%s' from `%s' line %d", fname, yyfile, yyline);
+	CFGDBG(1, "include `%s'", fname);
 	yy_switch_to_buffer(yy_create_buffer(fp, YY_BUF_SIZE));
 	yyfile = intern(s);
 	yyline = 1;

Reply via email to