summaryrefslogtreecommitdiff
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2005-12-10 18:58:51 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2005-12-10 18:58:51 +0000
commitdeb1478aafe4a3cd72293932e6d02e057fc8fedd (patch)
tree638c5cdcde952284755c294d9391d537415d9bf0 /usr.bin/xlint
parent55ba0efdfc8cb0b0116c7920567f7d9e345f7ec4 (diff)
how did this slip in, grr.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/lint1/emit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xlint/lint1/emit.c b/usr.bin/xlint/lint1/emit.c
index 8458bd41a64..b3c8bbdb725 100644
--- a/usr.bin/xlint/lint1/emit.c
+++ b/usr.bin/xlint/lint1/emit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emit.c,v 1.8 2005/12/10 18:51:54 martin Exp $ */
+/* $OpenBSD: emit.c,v 1.9 2005/12/10 18:58:50 martin Exp $ */
/* $NetBSD: emit.c,v 1.2 1995/07/03 21:24:00 cgd Exp $ */
/*
@@ -33,7 +33,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: emit.c,v 1.8 2005/12/10 18:51:54 martin Exp $";
+static char rcsid[] = "$OpenBSD: emit.c,v 1.9 2005/12/10 18:58:50 martin Exp $";
#endif
#include <stdio.h>
@@ -66,7 +66,7 @@ outopen(const char *name)
err(1, "cannot open '%s'", name);
/* generate output buffer */
- oa.o_len = 1024;
+ ob.o_len = 1024;
ob.o_end = (ob.o_buf = ob.o_nxt = xmalloc(ob.o_len)) + ob.o_len;
}