summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Hedenfal <martinh@cvs.openbsd.org>2010-06-13 06:46:04 +0000
committerMartin Hedenfal <martinh@cvs.openbsd.org>2010-06-13 06:46:04 +0000
commit291eb4ca717b185b2570aeef1ebc6e3e06bcf7d3 (patch)
tree4d40e6cd58e42193e484bc85ef05948510035659
parentcd27cc6484e297f38adee86fd954b84949bb4915 (diff)
Fix value clash in btree flags BT_FIXPADDING and BT_NOSYNC.
-rw-r--r--usr.sbin/ldapd/btree.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ldapd/btree.h b/usr.sbin/ldapd/btree.h
index f8dee1576c0..6bf6ca26997 100644
--- a/usr.sbin/ldapd/btree.h
+++ b/usr.sbin/ldapd/btree.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: btree.h,v 1.2 2010/06/11 05:29:22 martinh Exp $ */
+/* $OpenBSD: btree.h,v 1.3 2010/06/13 06:46:03 martinh Exp $ */
/*
* Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se>
@@ -59,9 +59,9 @@ enum cursor_op { /* cursor operations */
#define BT_DEAD 3 /* file has been replaced */
/* btree flags */
-#define BT_NOSYNC 0x01 /* don't fsync after commit */
-#define BT_RDONLY 0x08 /* read only */
-#define BT_REVERSEKEY 0x10 /* use reverse string keys */
+#define BT_NOSYNC 0x02 /* don't fsync after commit */
+#define BT_RDONLY 0x04 /* read only */
+#define BT_REVERSEKEY 0x08 /* use reverse string keys */
struct btree_stat {
unsigned long long int hits; /* cache hits */