summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-06 18:49:06 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-06 18:49:06 +0000
commit643bba68682a5ca2c9e550c5a528342edbbc1c71 (patch)
tree03cb8da09a93637b35d54d616c278ad1f758fde8
parent79063e917d2c22333489f5d0660feb440dc09fc4 (diff)
whoops
-rw-r--r--usr.bin/systat/swap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c
index f16e601299f..ad91e7d0e1b 100644
--- a/usr.bin/systat/swap.c
+++ b/usr.bin/systat/swap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: swap.c,v 1.5 1996/08/06 18:48:16 deraadt Exp $ */
+/* $OpenBSD: swap.c,v 1.6 1996/08/06 18:49:05 deraadt Exp $ */
/* $NetBSD: swap.c,v 1.5 1996/05/10 23:16:38 thorpej Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)swap.c 8.3 (Berkeley) 4/29/95";
#endif
-static char rcsid[] = "$OpenBSD: swap.c,v 1.5 1996/08/06 18:48:16 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: swap.c,v 1.6 1996/08/06 18:49:05 deraadt Exp $";
#endif /* not lint */
/*
@@ -128,7 +128,7 @@ initswap()
strcpy(msgbuf, "systat: swap: cannot find");
for (i = 0; syms[i].n_name != NULL; i++) {
if (syms[i].n_value == 0) {
- if (strlen(msgbuf) strlen(syms[i].n_name) +2 >
+ if (strlen(msgbuf) + strlen(syms[i].n_name) +2 >
sizeof (msgbuf))
continue;
strcat(msgbuf, " ");