summaryrefslogtreecommitdiff
path: root/usr.bin/make/for.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/for.c')
-rw-r--r--usr.bin/make/for.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/for.c b/usr.bin/make/for.c
index b3aa91525dc..7274e0ed873 100644
--- a/usr.bin/make/for.c
+++ b/usr.bin/make/for.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: for.c,v 1.7 1999/12/06 22:24:31 espie Exp $ */
+/* $OpenBSD: for.c,v 1.8 1999/12/09 18:18:24 espie Exp $ */
/* $NetBSD: for.c,v 1.4 1996/11/06 17:59:05 christos Exp $ */
/*
@@ -65,7 +65,7 @@
#if 0
static char sccsid[] = "@(#)for.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: for.c,v 1.7 1999/12/06 22:24:31 espie Exp $";
+static char rcsid[] = "$OpenBSD: for.c,v 1.8 1999/12/09 18:18:24 espie Exp $";
#endif
#endif /* not lint */
@@ -246,7 +246,7 @@ For_Eval (line)
}
if (forLevel != 0) {
- Buf_AddChars(forBuf, strlen(line), line);
+ Buf_AddString(forBuf, line);
Buf_AddChar(forBuf, '\n');
return 1;
}