Module Name:    src
Committed By:   rillig
Date:           Sun Jan  9 15:48:30 UTC 2022

Modified Files:
        src/usr.bin/make: make.c

Log Message:
make: use consistent variable names for varargs

No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/usr.bin/make/make.c

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/make/make.c
diff -u src/usr.bin/make/make.c:1.251 src/usr.bin/make/make.c:1.252
--- src/usr.bin/make/make.c:1.251	Sat Jan  8 09:53:44 2022
+++ src/usr.bin/make/make.c	Sun Jan  9 15:48:30 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: make.c,v 1.251 2022/01/08 09:53:44 rillig Exp $	*/
+/*	$NetBSD: make.c,v 1.252 2022/01/09 15:48:30 rillig Exp $	*/
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -104,7 +104,7 @@
 #include "job.h"
 
 /*	"@(#)make.c	8.1 (Berkeley) 6/6/93"	*/
-MAKE_RCSID("$NetBSD: make.c,v 1.251 2022/01/08 09:53:44 rillig Exp $");
+MAKE_RCSID("$NetBSD: make.c,v 1.252 2022/01/09 15:48:30 rillig Exp $");
 
 /* Sequence # to detect recursion. */
 static unsigned int checked_seqno = 1;
@@ -120,11 +120,11 @@ static GNodeList toBeMade = LST_INIT;
 void
 debug_printf(const char *fmt, ...)
 {
-	va_list args;
+	va_list ap;
 
-	va_start(args, fmt);
-	vfprintf(opts.debug_file, fmt, args);
-	va_end(args);
+	va_start(ap, fmt);
+	vfprintf(opts.debug_file, fmt, ap);
+	va_end(ap);
 }
 
 MAKE_ATTR_DEAD static void

Reply via email to