diff options
Diffstat (limited to 'usr.bin/make/job.c')
| -rw-r--r-- | usr.bin/make/job.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index b25edd89e35f5..e7d045001e00c 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1877,7 +1877,7 @@ JobOutput(Job *job, char *cp, char *endp, int msg) char *ecp; if (commandShell->noPrint) { - ecp = Str_FindSubstring(cp, commandShell->noPrint); + ecp = strstr(cp, commandShell->noPrint); while (ecp != NULL) { if (cp != ecp) { *ecp = '\0'; @@ -1905,7 +1905,7 @@ JobOutput(Job *job, char *cp, char *endp, int msg) while (*cp == ' ' || *cp == '\t' || *cp == '\n') { cp++; } - ecp = Str_FindSubstring(cp, commandShell->noPrint); + ecp = strstr(cp, commandShell->noPrint); } else { return cp; } |
