diff options
author | 2001-09-16 13:08:55 +0000 | |
---|---|---|
committer | 2001-09-16 13:08:55 +0000 | |
commit | 275525bd095066e0c007fd8f6c033a29fc858588 (patch) | |
tree | 342eeee0a40cd3efb2d604ac31f3b9e888f75e21 | |
parent | bye bye (diff) | |
download | wireguard-openbsd-275525bd095066e0c007fd8f6c033a29fc858588.tar.xz wireguard-openbsd-275525bd095066e0c007fd8f6c033a29fc858588.zip |
return 0, not NULL, the function returns an int
-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; |