Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs fix swapped KASSERT()
details: https://anonhg.NetBSD.org/src/rev/273556412f4d
branches: trunk
changeset: 347945:273556412f4d
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Sat Sep 24 21:00:54 2016 +0000
description:
fix swapped KASSERT()
diffstat:
sys/ufs/ffs/ffs_wapbl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 90f23bb8f7fa -r 273556412f4d sys/ufs/ffs/ffs_wapbl.c
--- a/sys/ufs/ffs/ffs_wapbl.c Sat Sep 24 20:59:51 2016 +0000
+++ b/sys/ufs/ffs/ffs_wapbl.c Sat Sep 24 21:00:54 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs_wapbl.c,v 1.31 2016/09/24 20:59:51 jdolecek Exp $ */
+/* $NetBSD: ffs_wapbl.c,v 1.32 2016/09/24 21:00:54 jdolecek Exp $ */
/*-
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.31 2016/09/24 20:59:51 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ffs_wapbl.c,v 1.32 2016/09/24 21:00:54 jdolecek Exp $");
#define WAPBL_INTERNAL
@@ -193,7 +193,7 @@
fs->fs_fmod = 0;
fs->fs_time = time_second;
error = ffs_cgupdate(ump, 0);
- KASSERT(error != 0);
+ KASSERT(error == 0);
}
}
Home |
Main Index |
Thread Index |
Old Index