summaryrefslogtreecommitdiff
path: root/usr.bin/vi/common
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/common')
-rw-r--r--usr.bin/vi/common/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vi/common/main.c b/usr.bin/vi/common/main.c
index 9e37e008272..0840428d89f 100644
--- a/usr.bin/vi/common/main.c
+++ b/usr.bin/vi/common/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.13 2007/05/14 12:32:29 pyr Exp $ */
+/* $OpenBSD: main.c,v 1.14 2008/03/04 18:55:44 otto Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
@@ -464,7 +464,7 @@ v_end(gp)
#if defined(DEBUG) || defined(PURIFY) || defined(LIBRARY)
{ FREF *frp;
/* Free FREF's. */
- while ((frp = CIRCLEQ_FIRST(&gp)) != CIRCLEQ_END(&gp->frefq)) {
+ while ((frp = CIRCLEQ_FIRST(&gp->frefq)) != CIRCLEQ_END(&gp->frefq)) {
CIRCLEQ_REMOVE(&gp->frefq, frp, q);
if (frp->name != NULL)
free(frp->name);