]> git.saurik.com Git - apple/libc.git/blobdiff - db/btree/FreeBSD/bt_seq.c
Libc-1158.1.2.tar.gz
[apple/libc.git] / db / btree / FreeBSD / bt_seq.c
index b0b8b04ede2f973a9e7e725404f2819f6d66af0c..1521ca21a825140563d9c910d0ccda4b32e139a7 100644 (file)
@@ -342,7 +342,7 @@ __bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp)
         * page) and return it.
         */
        if ((ep = __bt_search(t, key, exactp)) == NULL)
-               return (0);
+               return (RET_SPECIAL);
        if (*exactp) {
                if (F_ISSET(t, B_NODUPS)) {
                        *erval = *ep;