diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index 695e45436453..5ea85b233fb4 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,4 +1,4 @@ -/* $NetBSD: job.c,v 1.78 2003/07/15 05:38:24 itojun Exp $ */ +/* $NetBSD: job.c,v 1.79 2003/07/15 05:39:28 itojun Exp $ */ /* * Copyright (c) 1988, 1989, 1990 The Regents of the University of California. @@ -39,14 +39,14 @@ */ #ifdef MAKE_BOOTSTRAP -static char rcsid[] = "$NetBSD: job.c,v 1.78 2003/07/15 05:38:24 itojun Exp $"; +static char rcsid[] = "$NetBSD: job.c,v 1.79 2003/07/15 05:39:28 itojun Exp $"; #else #include #ifndef lint #if 0 static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94"; #else -__RCSID("$NetBSD: job.c,v 1.78 2003/07/15 05:38:24 itojun Exp $"); +__RCSID("$NetBSD: job.c,v 1.79 2003/07/15 05:39:28 itojun Exp $"); #endif #endif /* not lint */ #endif @@ -1879,7 +1879,7 @@ JobStart(GNode *gn, int flags, Job *previous) } JobSigLock(&mask); - (void)strlcpy(tfile, sizeof(tfile), TMPPAT); + (void)strlcpy(tfile, TMPPAT, sizeof(tfile)); if ((tfd = mkstemp(tfile)) == -1) Punt("Could not create temporary file %s", strerror(errno)); (void) eunlink(tfile);