summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/recno/rec_search.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-03-04 00:58:04 +0000
committerdelphij <delphij@FreeBSD.org>2009-03-04 00:58:04 +0000
commit60ee3b72bf398f3dd2403737817dc830d80a904f (patch)
tree756648717503997efc92e73d40047dd45f88ad87 /lib/libc/db/recno/rec_search.c
parent3b8bffce0869741be8850515a08b3660f97e8315 (diff)
downloadFreeBSD-src-60ee3b72bf398f3dd2403737817dc830d80a904f.zip
FreeBSD-src-60ee3b72bf398f3dd2403737817dc830d80a904f.tar.gz
Style changes (including additional casts to shut up warnings). This
commit does not affect MD5 of object file.
Diffstat (limited to 'lib/libc/db/recno/rec_search.c')
-rw-r--r--lib/libc/db/recno/rec_search.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/db/recno/rec_search.c b/lib/libc/db/recno/rec_search.c
index 68e7f2d..8115e0f 100644
--- a/lib/libc/db/recno/rec_search.c
+++ b/lib/libc/db/recno/rec_search.c
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
* Parameters:
* t: tree to search
* recno: key to find
- * op: search operation
+ * op: search operation
*
* Returns:
* EPG for matching record, if any, or the EPG for the location of the
@@ -87,7 +87,7 @@ __rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
}
BT_PUSH(t, pg, idx - 1);
-
+
pg = r->pgno;
switch (op) {
case SDELETE:
@@ -114,8 +114,8 @@ err: sverrno = errno;
--GETRINTERNAL(h, parent->index)->nrecs;
else
++GETRINTERNAL(h, parent->index)->nrecs;
- mpool_put(t->bt_mp, h, MPOOL_DIRTY);
- }
+ mpool_put(t->bt_mp, h, MPOOL_DIRTY);
+ }
errno = sverrno;
return (NULL);
}
OpenPOWER on IntegriCloud