Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/db/btree Fix syntax for currently not compiled in c...



details:   https://anonhg.NetBSD.org/src/rev/a4f39f74d3e5
branches:  trunk
changeset: 818348:a4f39f74d3e5
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Oct 09 11:48:24 2016 +0000

description:
Fix syntax for currently not compiled in code. From Henning Petersen in
PR lib/51538.

diffstat:

 lib/libc/db/btree/bt_debug.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e72f99c7e6d2 -r a4f39f74d3e5 lib/libc/db/btree/bt_debug.c
--- a/lib/libc/db/btree/bt_debug.c      Sun Oct 09 09:26:45 2016 +0000
+++ b/lib/libc/db/btree/bt_debug.c      Sun Oct 09 11:48:24 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bt_debug.c,v 1.18 2016/09/24 21:31:25 christos Exp $   */
+/*     $NetBSD: bt_debug.c,v 1.19 2016/10/09 11:48:24 joerg Exp $      */
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -37,7 +37,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: bt_debug.c,v 1.18 2016/09/24 21:31:25 christos Exp $");
+__RCSID("$NetBSD: bt_debug.c,v 1.19 2016/10/09 11:48:24 joerg Exp $");
 
 #include <assert.h>
 #include <stdio.h>
@@ -312,7 +312,7 @@
        pcont = pinternal = pleaf = 0;
        nkeys = ifree = lfree = 0;
        for (i = P_ROOT; i < t->bt_mp->npages &&
-           (h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i)
+           (h = mpool_get(t->bt_mp, i, MPOOL_IGNOREPIN)) != NULL; ++i) {
                switch (h->flags & P_TYPE) {
                case P_BINTERNAL:
                case P_RINTERNAL:



Home | Main Index | Thread Index | Old Index