summaryrefslogtreecommitdiff
path: root/device
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-09-13 13:31:56 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-16 02:01:18 +0200
commit29837925f757278c80cda79daf16e241d53dfde0 (patch)
tree0736014a75521998955d1b2850503292e808f5b8 /device
parent51eb43efdaa323eca92b47be2b0b4ecec07bedb5 (diff)
use boolean_t instead of an int
Variable 'found' already receives values TRUE and FALSE, so why not make it a boolean. * device/dev_name.c: Use boolean_t instead of an int.
Diffstat (limited to 'device')
-rw-r--r--device/dev_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/dev_name.c b/device/dev_name.c
index b560b0a..24d0885 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -213,7 +213,7 @@ boolean_t dev_change_indirect(iname, dname, unit)
{
struct dev_ops *dp;
struct dev_indirect *di;
- int found = FALSE;
+ boolean_t found = FALSE;
dev_search(dp) {
if (!strcmp(dp->d_name,dname)) {