diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-16 13:08:56 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-16 13:08:56 +0000 |
commit | fef6b0388c91a0f98c12f4988b5391aa6624fe26 (patch) | |
tree | a6a06ca4120eda1d1379f7d617c921f23a6dd03c /lib | |
parent | bf8edb9da9ea80f5fb06c391bebc6d6bb6e1f006 (diff) |
return 0, not NULL, the function returns an int
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/db/btree/bt_seq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/db/btree/bt_seq.c b/lib/libc/db/btree/bt_seq.c index 17cfef69432..e26c8606cb4 100644 --- a/lib/libc/db/btree/bt_seq.c +++ b/lib/libc/db/btree/bt_seq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bt_seq.c,v 1.4 1999/02/15 05:11:23 millert Exp $ */ +/* $OpenBSD: bt_seq.c,v 1.5 2001/09/16 13:08:55 art Exp $ */ /*- * Copyright (c) 1990, 1993, 1994 @@ -40,7 +40,7 @@ #if 0 static char sccsid[] = "@(#)bt_seq.c 8.7 (Berkeley) 7/20/94"; #else -static char rcsid[] = "$OpenBSD: bt_seq.c,v 1.4 1999/02/15 05:11:23 millert Exp $"; +static char rcsid[] = "$OpenBSD: bt_seq.c,v 1.5 2001/09/16 13:08:55 art Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -364,7 +364,7 @@ __bt_first(t, key, erval, exactp) * page) and return it. */ if ((ep = __bt_search(t, key, exactp)) == NULL) - return (NULL); + return (0); if (*exactp) { if (F_ISSET(t, B_NODUPS)) { *erval = *ep; |