SCCS-vsn: lib/libc/db/btree/bt_search.c 5.2
*/
#if defined(LIBC_SCCS) && !defined(lint)
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)bt_search.c 5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)bt_search.c 5.2 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
static BTITEM item;
/* do a binary search on the current page */
static BTITEM item;
/* do a binary search on the current page */
- index = _bt_binsrch(t, &(key->data[0]));
+ index = _bt_binsrch(t, key->data);
/*
* At this point, the binary search terminated because the endpoints
/*
* At this point, the binary search terminated because the endpoints