Module Name:    src
Committed By:   rillig
Date:           Sat Jul 16 22:23:38 UTC 2022

Modified Files:
        src/usr.bin/xlint/lint1: debug.c

Log Message:
lint: add missing space before func_proto_sym in debug mode


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/usr.bin/xlint/lint1/debug.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/xlint/lint1/debug.c
diff -u src/usr.bin/xlint/lint1/debug.c:1.22 src/usr.bin/xlint/lint1/debug.c:1.23
--- src/usr.bin/xlint/lint1/debug.c:1.22	Sun Jul  3 14:15:38 2022
+++ src/usr.bin/xlint/lint1/debug.c	Sat Jul 16 22:23:38 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: debug.c,v 1.22 2022/07/03 14:15:38 rillig Exp $ */
+/* $NetBSD: debug.c,v 1.23 2022/07/16 22:23:38 rillig Exp $ */
 
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID)
-__RCSID("$NetBSD: debug.c,v 1.22 2022/07/03 14:15:38 rillig Exp $");
+__RCSID("$NetBSD: debug.c,v 1.23 2022/07/16 22:23:38 rillig Exp $");
 #endif
 
 #include <stdlib.h>
@@ -422,7 +422,7 @@ debug_dinfo(const dinfo_t *d) // NOLINT(
 		    d->d_func_def_pos.p_uniq);
 	for (const sym_t *sym = d->d_func_proto_syms;
 	     sym != NULL; sym = sym->s_next)
-		debug_sym("func_proto_sym(", sym, ")");
+		debug_sym(" func_proto_sym(", sym, ")");
 	debug_printf("\n");
 
 	if (d->d_enclosing != NULL) {

Reply via email to