NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/44644: Word bool used as variable name.
>Number: 44644
>Category: bin
>Synopsis: Word bool used as variable name.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 26 12:30:00 +0000 2011
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
Word bool used as variable name, rename bool to onoff.
>Description:
>How-To-Repeat:
>Fix:
diff -u -r1.1.1.1 wpa_auth.c
--- external/bsd/wpa/dist/src/ap/wpa_auth.c 4 Aug 2010 10:18:00 -0000
1.1.1.1
+++ external/bsd/wpa/dist/src/ap/wpa_auth.c 25 Feb 2011 07:25:37 -0000
@@ -2296,9 +2296,9 @@
}
-static const char * wpa_bool_txt(int bool)
+static const char * wpa_bool_txt(int onoff)
{
- return bool ? "TRUE" : "FALSE";
+ return onoff ? "TRUE" : "FALSE";
}
Home |
Main Index |
Thread Index |
Old Index