NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/45518: Change from bitwise to boolean.



>Number:         45518
>Category:       lib
>Synopsis:       Change from bitwise to boolean.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 24 08:45:00 +0000 2011
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Change from bitwise to boolean in macro _DIAGASSERT .
>How-To-Repeat:

>Fix:
diff -u -r1.8 citrus_mapper_std.c
--- lib/libc/citrus/modules/citrus_mapper_std.c 11 Sep 2006 13:06:33 -0000      
1.8
+++ lib/libc/citrus/modules/citrus_mapper_std.c 7 Oct 2011 07:27:01 -0000
@@ -426,7 +426,7 @@
 {
        struct _citrus_mapper_std *ms;
 
-       _DIAGASSERT(cm!=NULL & cm->cm_closure!=NULL);
+       _DIAGASSERT(cm!=NULL && cm->cm_closure!=NULL);
 
        ms = cm->cm_closure;
        if (ms->ms_uninit)



Home | Main Index | Thread Index | Old Index