summaryrefslogtreecommitdiff
path: root/usr.bin/awk/b.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-06-13 17:58:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-06-13 17:58:20 +0000
commite1944808d62d45bb05963968faa0fde7ab36feed (patch)
treee1eab458bf1c3c4ed0086fd00a545d5fb37f6a34 /usr.bin/awk/b.c
parent8f4c1ffb8acb761c9d473f9b615bf9056ed164a0 (diff)
Update awk to May 23, 2010 version. OK miod@
Diffstat (limited to 'usr.bin/awk/b.c')
-rw-r--r--usr.bin/awk/b.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/awk/b.c b/usr.bin/awk/b.c
index 03018c10012..cc7ac3559b1 100644
--- a/usr.bin/awk/b.c
+++ b/usr.bin/awk/b.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: b.c,v 1.15 2008/10/06 20:38:33 millert Exp $ */
+/* $OpenBSD: b.c,v 1.16 2010/06/13 17:58:19 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -877,7 +877,7 @@ int cgoto(fa *f, int s, int c)
if (q[j] >= maxsetvec) {
maxsetvec *= 4;
setvec = (int *) realloc(setvec, maxsetvec * sizeof(int));
- tmpset = (int *) realloc(setvec, maxsetvec * sizeof(int));
+ tmpset = (int *) realloc(tmpset, maxsetvec * sizeof(int));
if (setvec == 0 || tmpset == 0)
overflo("cgoto overflow");
}