Module Name: src Committed By: wiz Date: Sun Oct 30 21:48:27 UTC 2011
Modified Files: src/lib/libc/citrus/modules: citrus_mapper_std.c Log Message: Use boolean AND instead of bitwise one in _DIAGASSERT. >From Henning Petersen in PR 45518. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/lib/libc/citrus/modules/citrus_mapper_std.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/citrus/modules/citrus_mapper_std.c diff -u src/lib/libc/citrus/modules/citrus_mapper_std.c:1.8 src/lib/libc/citrus/modules/citrus_mapper_std.c:1.9 --- src/lib/libc/citrus/modules/citrus_mapper_std.c:1.8 Mon Sep 11 13:06:33 2006 +++ src/lib/libc/citrus/modules/citrus_mapper_std.c Sun Oct 30 21:48:27 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: citrus_mapper_std.c,v 1.8 2006/09/11 13:06:33 tnozaki Exp $ */ +/* $NetBSD: citrus_mapper_std.c,v 1.9 2011/10/30 21:48:27 wiz Exp $ */ /*- * Copyright (c)2003, 2006 Citrus Project, @@ -28,7 +28,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: citrus_mapper_std.c,v 1.8 2006/09/11 13:06:33 tnozaki Exp $"); +__RCSID("$NetBSD: citrus_mapper_std.c,v 1.9 2011/10/30 21:48:27 wiz Exp $"); #endif /* LIBC_SCCS and not lint */ #include <assert.h> @@ -426,7 +426,7 @@ _citrus_mapper_std_mapper_uninit(struct { 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)