summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_debug.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2014-07-10 13:36:39 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2014-07-10 13:36:39 +0000
commit4324e4e0f90ad228e6c08479365f40be66db7572 (patch)
tree26513b04fc7129c03b0097dce96608d819f50973 /sys/nfs/nfs_debug.c
parent8bbac16bf206757fa4d290e71bb6b0fb71e91613 (diff)
delete some boolean_t poison
Diffstat (limited to 'sys/nfs/nfs_debug.c')
-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);
}