diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-04-10 17:16:31 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-04-10 17:16:31 +0000 |
commit | 52c8d97e79ce1a6eb91378e762263239e1c5c915 (patch) | |
tree | eea35f484b065f533685f58e44b6693a90d01b76 /usr.bin | |
parent | 68b778b9587c75240b30ada745226081df0f8e88 (diff) |
Thinko in dobuiltin. Reported by turan@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/m4/gnum4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/m4/gnum4.c b/usr.bin/m4/gnum4.c index b2d6374b483..eebb7d593d6 100644 --- a/usr.bin/m4/gnum4.c +++ b/usr.bin/m4/gnum4.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gnum4.c,v 1.5 2000/03/11 15:54:44 espie Exp $ */ +/* $OpenBSD: gnum4.c,v 1.6 2000/04/10 17:16:30 espie Exp $ */ /* * Copyright (c) 1999 Marc Espie @@ -184,7 +184,7 @@ dobuiltin(argv, argc) argv[1] = NULL; n = builtin_type(argv[2]); if (n != -1) - eval(argv+1, argc, n); + eval(argv+1, argc-1, n); else errx(1, "unknown builtin %s", argv[2]); } |