Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern KASSERT(A); KASSERT(B) instead of KASSERT(A && B).
details: https://anonhg.NetBSD.org/src/rev/bb60441e111a
branches: trunk
changeset: 345102:bb60441e111a
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sat May 07 17:47:34 2016 +0000
description:
KASSERT(A); KASSERT(B) instead of KASSERT(A && B).
diffstat:
sys/kern/vfs_wapbl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 8184de91c52e -r bb60441e111a sys/kern/vfs_wapbl.c
--- a/sys/kern/vfs_wapbl.c Sat May 07 17:12:22 2016 +0000
+++ b/sys/kern/vfs_wapbl.c Sat May 07 17:47:34 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfs_wapbl.c,v 1.69 2016/05/07 17:12:22 riastradh Exp $ */
+/* $NetBSD: vfs_wapbl.c,v 1.70 2016/05/07 17:47:34 riastradh Exp $ */
/*-
* Copyright (c) 2003, 2008, 2009 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
#define WAPBL_INTERNAL
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.69 2016/05/07 17:12:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vfs_wapbl.c,v 1.70 2016/05/07 17:47:34 riastradh Exp $");
#include <sys/param.h>
#include <sys/bitops.h>
@@ -1505,8 +1505,8 @@
goto out;
off = wl->wl_head;
- KASSERT((off == 0) || ((off >= wl->wl_circ_off) &&
- (off < wl->wl_circ_off + wl->wl_circ_size)));
+ KASSERT((off == 0) || (off >= wl->wl_circ_off));
+ KASSERT((off == 0) || (off < wl->wl_circ_off + wl->wl_circ_size));
error = wapbl_write_blocks(wl, &off);
if (error)
goto out;
Home |
Main Index |
Thread Index |
Old Index