Skip to content

Commit fa6492c

Browse files
committed
Cosmetic, use __func__.
1 parent c55451f commit fa6492c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

usr.bin/make/job.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: job.c,v 1.523 2026/02/28 22:06:38 christos Exp $ */
1+
/* $NetBSD: job.c,v 1.524 2026/02/28 22:58:00 christos Exp $ */
22

33
/*
44
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -124,7 +124,7 @@
124124
#include "trace.h"
125125

126126
/* "@(#)job.c 8.2 (Berkeley) 3/19/94" */
127-
MAKE_RCSID("$NetBSD: job.c,v 1.523 2026/02/28 22:06:38 christos Exp $");
127+
MAKE_RCSID("$NetBSD: job.c,v 1.524 2026/02/28 22:58:00 christos Exp $");
128128

129129

130130
#ifdef USE_SELECT
@@ -979,8 +979,8 @@ MaybeSubMake(const char *cmd)
979979
for (p = strstr(cmd, make); p != NULL; p = strstr(&p[1], make)) {
980980
if (p == cmd || p[-1] == '/' || ch_isspace(p[-1])) {
981981
if (p[len] == '\0' || ch_isspace(p[len])) {
982-
DEBUG1(JOB, "MaybeSubMake: matched \"%.16s...\"\n",
983-
p);
982+
DEBUG2(JOB, "%s: matched \"%.16s...\"\n",
983+
__func__, p);
984984
return true;
985985
}
986986
}
@@ -1632,8 +1632,8 @@ JobExec(Job *job, char **argv)
16321632

16331633
if (DEBUG(JOB)) {
16341634
debug_printf(
1635-
"JobExec: target %s, pid %d added to jobs table\n",
1636-
job->node->name, job->pid);
1635+
"%s: target %s, pid %d added to jobs table\n",
1636+
__func__, job->node->name, job->pid);
16371637
JobTable_Dump("job started");
16381638
}
16391639
JobsTable_Unlock(&mask);

0 commit comments

Comments
 (0)