summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-07-10 13:36:38 +0000
committertedu <tedu@openbsd.org>2014-07-10 13:36:38 +0000
commit5430ff35590e67d17979e24d097a1d026352e79e (patch)
tree8a239e0c928a73f7a7f8092803c5caa7f8dd8749
parentdrain some boolean_t poison (diff)
downloadwireguard-openbsd-5430ff35590e67d17979e24d097a1d026352e79e.tar.xz
wireguard-openbsd-5430ff35590e67d17979e24d097a1d026352e79e.zip
delete some boolean_t poison
-rw-r--r--sys/nfs/nfs_debug.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/nfs/nfs_debug.c b/sys/nfs/nfs_debug.c
index 7f855db7cd1..d94b6a6f7ca 100644
--- a/sys/nfs/nfs_debug.c
+++ b/sys/nfs/nfs_debug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_debug.c,v 1.4 2013/05/31 14:00:08 guenther Exp $ */
+/* $OpenBSD: nfs_debug.c,v 1.5 2014/07/10 13:36:38 tedu Exp $ */
/*
* Copyright (c) 2009 Thordur I. Bjornsson. <thib@openbsd.org>
*
@@ -36,10 +36,10 @@
void
db_show_all_nfsreqs(db_expr_t expr, int haddr, db_expr_t count, char *modif)
{
- boolean_t full = FALSE;
+ int full = 0;
if (modif[0] == 'f')
- full = TRUE;
+ full = 1;
pool_walk(&nfsreqpl, full, db_printf, nfs_request_print);
}
@@ -64,10 +64,10 @@ nfs_request_print(void *v, int full, int (*pr)(const char *, ...))
void
db_show_all_nfsnodes(db_expr_t expr, int haddr, db_expr_t count, char *modif)
{
- boolean_t full = FALSE;
+ int full = 0;
if (modif[0] == 'f')
- full = TRUE;
+ full = 1;
pool_walk(&nfs_node_pool, full, db_printf, nfs_node_print);
}