diff options
Diffstat (limited to 'contrib/blocklist/bin/state.c')
| -rw-r--r-- | contrib/blocklist/bin/state.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/contrib/blocklist/bin/state.c b/contrib/blocklist/bin/state.c index 08e2622e223f..bb93904f3489 100644 --- a/contrib/blocklist/bin/state.c +++ b/contrib/blocklist/bin/state.c @@ -1,4 +1,4 @@ -/*	$NetBSD: state.c,v 1.2 2025/02/11 17:48:30 christos Exp $	*/ +/*	$NetBSD: state.c,v 1.3 2025/10/25 18:43:51 christos Exp $	*/  /*-   * Copyright (c) 2015 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@  #ifdef HAVE_SYS_CDEFS_H  #include <sys/cdefs.h>  #endif -__RCSID("$NetBSD: state.c,v 1.2 2025/02/11 17:48:30 christos Exp $"); +__RCSID("$NetBSD: state.c,v 1.3 2025/10/25 18:43:51 christos Exp $");  #include <sys/types.h>  #include <sys/socket.h> @@ -131,7 +131,7 @@ state_del(DB *db, const struct conf *c)  			(*lfun)(LOG_DEBUG, "%s: returns %d", __func__, rv);  			(*db->sync)(db, 0);  		} -		return 0; +		return rv;  	default:  		(*lfun)(LOG_ERR, "%s: failed (%m)", __func__);  		return -1; | 
